1
1
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:
Wez Furlong 2023-04-13 14:24:04 -07:00
parent 7d66bc761d
commit 1f7ff31179
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -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,