mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:07:35 +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
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);
|
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());
|
m_scrollbar->set_value(m_scrollbar->max());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue