reedline
reedline copied to clipboard
Caps Lock ignored on Windows
Describe the bug
On my system, caps lock is ignored. Typing with caps lock on produces lower case. Holding shift with caps lock on produces upper case.
This seems to only affect Windows. I do not get the same behavior in WSL.
All within the same window, I can switch between various shells like cmd
, pwsh
, and nu
- and nu
is the only one to ignore caps lock.
How to reproduce
- Have Windows
- Unsure if it is specific to Windows 10 and/or the new console window
- Have Caps Lock enabled
- Type stuff
Expected behavior
I expected nu to respect my caps lock key state.
Screenshots
No response
Configuration
key | value |
---|---|
version | 0.60.0 |
build_os | windows-x86_64 |
rust_version | rustc 1.59.0 (9d1b2106e 2022-02-23) |
rust_channel | stable-x86_64-pc-windows-msvc |
cargo_version | cargo 1.59.0 (49d8809dc 2022-02-10) |
pkg_version | 0.60.0 |
build_time | 2022-03-22 22:19:26 -04:00 |
build_rust_channel | release |
features | dataframe, default, trash, which, zip |
installed_plugins |
Additional context
OS Version: 10.0.19042 N/A Build 19042
confirmed. the same thing happens to me on windows with windows terminal with caps lock on. this could be a reedline issue?
I knew this one was going to bite us back. In reedline we decided to case ignore all inputs and change the case based on the modifier. It seems that caps dont send a modifier to the events.