diff --git a/window/src/os/windows/window.rs b/window/src/os/windows/window.rs index 1e6111401..ef2e6d54e 100644 --- a/window/src/os/windows/window.rs +++ b/window/src/os/windows/window.rs @@ -30,6 +30,7 @@ use std::rc::Rc; use std::sync::Mutex; use wezterm_color_types::LinearRgba; use wezterm_font::FontConfiguration; +use wezterm_input_types::KeyboardLedStatus; use winapi::shared::minwindef::*; use winapi::shared::ntdef::*; use winapi::shared::windef::*; @@ -1949,6 +1950,7 @@ unsafe fn ime_composition( let key = KeyEvent { key: KeyCode::Composed(s), modifiers: Modifiers::NONE, + leds: KeyboardLedStatus::empty(), repeat_count: 1, key_is_down: true, raw: None, @@ -2419,6 +2421,7 @@ unsafe fn key(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option Option Option