diff --git a/docs/changelog.md b/docs/changelog.md index f26db3253..ecc1020b1 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -85,6 +85,7 @@ As features stabilize some brief notes about them will accumulate here. * X11/Wayland: wezterm.desktop now specifies `StartupWMClass`. Thanks to [@uncomfyhalomacro](https://github.com/uncomfyhalomacro)! [#2052](https://github.com/wez/wezterm/issues/2052) [#2125](https://github.com/wez/wezterm/pull/2125) * `sudo -i` in a pane would cause subsequent pane/tab creation to fail until the cwd was changed to an accessible directory [#2120](https://github.com/wez/wezterm/issues/2120) * X11: Add [x11_focus_change_repaint_delay_ms](config/lua/config/x11_focus_change_repaint_delay_ms.md) option to workaround NVIDIA specific window resize quirks. Thanks to [@pjones123](https://github.com/pjones123)! [#2063](https://github.com/wez/wezterm/issues/2063) [#2111](https://github.com/wez/wezterm/pull/2111) +* macOS: `SHIFT-Tab` and `CTRL-SHIFT-Tab` produced incorrect results [#1902](https://github.com/wez/wezterm/issues/1902) ### 20220408-101518-b908e2dd diff --git a/window/src/os/macos/window.rs b/window/src/os/macos/window.rs index 7e3ddeb17..64c4a7cb5 100644 --- a/window/src/os/macos/window.rs +++ b/window/src/os/macos/window.rs @@ -2054,7 +2054,7 @@ impl WindowView { // Shift-Tab on macOS produces \x19 for some reason. // Rewrite it to something we understand. // - let chars = if virtual_key == kVK_Tab && modifiers == Modifiers::SHIFT { + let chars = if virtual_key == kVK_Tab && modifiers.contains(Modifiers::SHIFT) { "\t" } else { chars