diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-18 02:51:29 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-18 02:51:29 +0300 |
| commit | c1f7b6f331501a784bfad896310eae1d064bd9b9 (patch) | |
| tree | bcab5fd693c024543ab90ea766f56153c4fee891 /src/client/input/windows_vti.rs | |
| parent | e298e4589050349630d0faaec00ef11555b83ae1 (diff) | |
fix: preserve lone escape input boundaries
refs #541
Diffstat (limited to 'src/client/input/windows_vti.rs')
| -rw-r--r-- | src/client/input/windows_vti.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/client/input/windows_vti.rs b/src/client/input/windows_vti.rs index 6404e586..3b29e790 100644 --- a/src/client/input/windows_vti.rs +++ b/src/client/input/windows_vti.rs @@ -191,12 +191,20 @@ struct WindowsInputMapper { win32_input: WindowsWin32InputModeFramer, } -#[derive(Default)] struct WindowsInputPump { framer: crate::raw_input::RawInputFramer, paste_from_win32_key_records: bool, } +impl Default for WindowsInputPump { + fn default() -> Self { + Self { + framer: crate::raw_input::RawInputFramer::for_host_input(), + paste_from_win32_key_records: false, + } + } +} + #[derive(Clone, Debug, PartialEq, Eq)] enum PlatformInputItem { Bytes(Vec<u8>), |
