summaryrefslogtreecommitdiff
path: root/Source/Kernel/VTManager/ScrollableVT.class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/VTManager/ScrollableVT.class.cpp')
-rw-r--r--Source/Kernel/VTManager/ScrollableVT.class.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Kernel/VTManager/ScrollableVT.class.cpp b/Source/Kernel/VTManager/ScrollableVT.class.cpp
index 264c3a4..5a7de62 100644
--- a/Source/Kernel/VTManager/ScrollableVT.class.cpp
+++ b/Source/Kernel/VTManager/ScrollableVT.class.cpp
@@ -80,6 +80,8 @@ void ScrollableVT::keyPress(keypress_t kp) {
nlup = m_linesup + 1;
} else if (kp.command == KBDC_DOWN) {
nlup = m_linesup - 1;
+ } else if (kp.command == KBDC_END) {
+ nlup = 0;
} else {
VirtualTerminal::keyPress(kp);
}