1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 11:17:15 +03:00

input: fix key_is_down in RawKeyEvent on windows

This commit is contained in:
Wez Furlong 2022-01-06 20:11:55 -07:00
parent 91fc705e26
commit bd952bcc2b

View File

@ -1780,7 +1780,7 @@ unsafe fn key(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<L
raw_code: wparam as _,
modifiers,
repeat_count: 1,
key_is_down: true,
key_is_down: !releasing,
handled: handled_raw.clone(),
};
inner