1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 02:25:28 +03:00

keys: avoid scrolling to bottom when CapsLock is pressed

refs: https://github.com/wez/wezterm/issues/3306
This commit is contained in:
Wez Furlong 2023-03-21 09:17:24 -07:00
parent 601e32e625
commit 0b83c97427
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -387,6 +387,7 @@ impl super::TermWindow {
if res.is_ok() {
if is_down
&& !keycode.is_modifier()
&& *keycode != KeyCode::CapsLock
&& self.pane_state(pane.pane_id()).overlay.is_none()
{
self.maybe_scroll_to_bottom_for_input(&pane);