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:
parent
601e32e625
commit
0b83c97427
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user