wezterm: send_composed_key_when_alt_is_pressed now defaults true

This should make our behavior more consistent with other terminal
emulators on macOS.

closes https://github.com/wez/wezterm/issues/158
This commit is contained in:
Wez Furlong committed 2020-05-28 19:54:13 -07:00
1 parent 9ff9bf15fd
commit acd016cdd4
2 files changed
+9 -2

No files matched your search

+7
View File
@@ -25,6 +25,13 @@ brief notes about them may accumulate here.
paste) to enter a search pattern and highlight matches. Pressing Enter (or
CTRL-P) advances to an earlier match, CTRL-N to a later match. Escape
cancels the search overlay.
* Fixed an issue where ALT+number would send the wrong output for European
keyboard layouts on macOS and Linux. As part of this the default behavior
has changed: we used to force ALT+number to produce ALT+number instead of
the composed key for that layout. We now emit the composed key by default.
You can switch to the old behavior either by explicitly binding those keys
or by setting `send_composed_key_when_alt_is_pressed = false` in your
configuration file.
### 20200517-122836-92c201c6
+2 -2
View File
@@ -424,10 +424,10 @@ pub struct Config {
pub daemon_options: DaemonOptions,
/// If set to true, send the system specific composed key when
/// the ALT key is held down. If set to false (the default)
/// the ALT key is held down. If set to false
/// then send the key with the ALT modifier (this is typically
/// encoded as ESC followed by the key).
#[serde(default)]
#[serde(default = "default_true")]
pub send_composed_key_when_alt_is_pressed: bool,
/// If true, the `Backspace` and `Delete` keys generate `Delete` and `Backspace`