mirror of
https://github.com/wez/wezterm.git
synced 2024-09-20 19:27:22 +03:00
input: fix key_is_down in RawKeyEvent on windows
This commit is contained in:
parent
91fc705e26
commit
bd952bcc2b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user