diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-17 00:07:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-17 00:07:58 +0200 |
| commit | 20c15dd7c8e516753a09e74d400b0637f5fd5682 (patch) | |
| tree | ed56565d7851b986071ec453eee757c94478e724 /src/client/input | |
| parent | 5f3763dda88e0fefbce14afab7cc2c7232a5e2a8 (diff) | |
fix(windows): preserve VT input during mouse refresh (#4257)
refs #4251
Diffstat (limited to 'src/client/input')
| -rw-r--r-- | src/client/input/windows_vti.rs | 10 |
1 files changed, 0 insertions, 10 deletions
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 @@ -97,16 +97,6 @@ pub(super) fn console_input_handle() -> std::io::Result<windows_sys::Win32::Foun } #[cfg(windows)] -pub(super) fn virtual_terminal_input_enabled( - handle: windows_sys::Win32::Foundation::HANDLE, -) -> 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<PlatformInputItem>), Idle, |
