cushy icon indicating copy to clipboard operation
cushy copied to clipboard

Display caps lock indicator in secure input

Open ecton opened this issue 1 year ago • 2 comments

I'm uncertain if we can query the caps lock key status from winit, but we should show an indicator when masking is asctive if the caps lock key is pressed.

ecton avatar Nov 16 '23 23:11 ecton

We need winit to tell us about the caps lock state, really. It doesn't look like they expose the API yet, and its internally tracked in xkb state that we can't read.

They've got an implementation to check caps state on windows and linux, supported on both wayland and X. It just needs to be added to public API

Plecra avatar Dec 19 '23 14:12 Plecra

Thank you for investigating how all that works!

ecton avatar Dec 19 '23 15:12 ecton