mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
LibVT: Don't scroll-to-bottom when pressing the Logo key
Let's treat the Logo key like all the other modifiers and not scroll to the bottom of the buffer.
This commit is contained in:
parent
a1c718e387
commit
5c779c124b
Notes:
sideshowbarker
2024-07-19 08:03:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5c779c124b3
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ void TerminalWidget::keydown_event(GUI::KeyEvent& event)
|
|||
write(m_ptm_fd, &ch, 1);
|
||||
}
|
||||
|
||||
if (event.key() != Key_Control && event.key() != Key_Alt && event.key() != Key_Shift)
|
||||
if (event.key() != Key_Control && event.key() != Key_Alt && event.key() != Key_Shift && event.key() != Key_Logo)
|
||||
m_scrollbar->set_value(m_scrollbar->max());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue