diff --git a/config/src/config.rs b/config/src/config.rs index 1af08d26c..140a037ef 100644 --- a/config/src/config.rs +++ b/config/src/config.rs @@ -625,7 +625,7 @@ pub struct Config { #[dynamic(default = "default_true")] pub allow_download_protocols: bool, - #[dynamic(default)] + #[dynamic(default = "default_true")] pub allow_win32_input_mode: bool, #[dynamic(default)] diff --git a/docs/changelog.md b/docs/changelog.md index 5fb66dc5f..42de41537 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -56,6 +56,7 @@ As features stabilize some brief notes about them will accumulate here. * Quickselect no longer jumps to the bottom of the viewport when activated, allowing you to quickselect within the current viewport region * Quickselect now supports multi-line anchors such as `^` and `$`. [#2008](https://github.com/wez/wezterm/issues/2008) * Overriding config using the cli `--config` option will now error out and prevent starting up if unknown config options are specified, or if the value evaluates to `nil`. Unknown options continue to generate warnings (rather than errors) when observed in the config file so that you're not "locked out" of wezterm if you make a typo in the config file. +* Windows: `allow_win32_input_mode` now defaults to `true` and enables using [win32-input-mode](https://github.com/microsoft/terminal/blob/main/doc/specs/%234999%20-%20Improved%20keyboard%20handling%20in%20Conpty.md) to send high-fidelity keyboard input to ConPTY. This means that win32 console applications, such as [FAR Manager](https://github.com/FarGroup/FarManager) that use the low level `INPUT_RECORD` API will now receive key-up events as well as events for modifier-only key presses. [#1509](https://github.com/wez/wezterm/issues/1509) [#2009](https://github.com/wez/wezterm/issues/2009) [#2098](https://github.com/wez/wezterm/issues/2098) [#1904](https://github.com/wez/wezterm/issues/1904) #### Fixed * Flush after replying to XTGETTCAP and DECRQM. [#1850](https://github.com/wez/wezterm/issues/1850) [#1950](https://github.com/wez/wezterm/issues/1950)