mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 22:01:47 +03:00
termwiz: ignore caps/num lock when encoding keys in xterm encoding
refs: https://github.com/wez/wezterm/issues/3517
This commit is contained in:
parent
7d66bc761d
commit
1f7ff31179
@ -277,6 +277,8 @@ impl KeyCode {
|
||||
_ => mods,
|
||||
};
|
||||
|
||||
let mods = mods.remove_keyboard_status_mods();
|
||||
|
||||
// Normalize Backspace and Delete
|
||||
let key = match key {
|
||||
Char('\x7f') => Delete,
|
||||
|
Loading…
Reference in New Issue
Block a user