diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-12 14:32:07 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-12 14:32:39 +0200 |
commit | 226c0cfb200b50b92168f6eba13b49955742d330 (patch) | |
tree | 50a4abcb7f09b7cf0530c208786443b7c9f70be2 /Libraries/LibVT | |
parent | bdf72a7c7aedd74fe831e9224ab49dbebdf332b4 (diff) | |
download | serenity-226c0cfb200b50b92168f6eba13b49955742d330.zip |
LibVT: Don't scroll to bottom when pressing the right shift key
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r-- | Libraries/LibVT/TerminalWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibVT/TerminalWidget.cpp b/Libraries/LibVT/TerminalWidget.cpp index 4e37136bc2..3d9f8fea32 100644 --- a/Libraries/LibVT/TerminalWidget.cpp +++ b/Libraries/LibVT/TerminalWidget.cpp @@ -239,7 +239,7 @@ void TerminalWidget::keydown_event(GUI::KeyEvent& event) m_terminal.handle_key_press(event.key(), event.code_point(), event.modifiers()); - if (event.key() != Key_Control && event.key() != Key_Alt && event.key() != Key_Shift && event.key() != Key_Logo) + if (event.key() != Key_Control && event.key() != Key_Alt && event.key() != Key_LeftShift && event.key() != Key_RightShift && event.key() != Key_Logo) m_scrollbar->set_value(m_scrollbar->max()); } |