From 20c15dd7c8e516753a09e74d400b0637f5fd5682 Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Thu, 17 Sep 2026 00:07:58 +0200 Subject: fix(windows): preserve VT input during mouse refresh (#4257) refs #4251 --- src/client/input/windows_vti.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/client/input') diff --git a/src/client/input/windows_vti.rs b/src/client/input/windows_vti.rs index 95e01d4b..e9cfa4e6 100644 --- a/src/client/input/windows_vti.rs +++ b/src/client/input/windows_vti.rs @@ -96,16 +96,6 @@ pub(super) fn console_input_handle() -> std::io::Result bool { - use windows_sys::Win32::System::Console::{GetConsoleMode, ENABLE_VIRTUAL_TERMINAL_INPUT}; - - let mut mode = 0; - (unsafe { GetConsoleMode(handle, &mut mode) } != 0) && mode & ENABLE_VIRTUAL_TERMINAL_INPUT != 0 -} - #[cfg(windows)] enum WindowsInputItems { Items(Vec), -- cgit v1.2.3