summaryrefslogtreecommitdiff
path: root/Source/Kernel/VTManager
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/VTManager')
-rw-r--r--Source/Kernel/VTManager/SimpleVT.class.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Kernel/VTManager/SimpleVT.class.cpp b/Source/Kernel/VTManager/SimpleVT.class.cpp
index d304a5f..4a16b54 100644
--- a/Source/Kernel/VTManager/SimpleVT.class.cpp
+++ b/Source/Kernel/VTManager/SimpleVT.class.cpp
@@ -78,7 +78,11 @@ void SimpleVT::scroll() {
BUFCHR(m_rows - 1, c).c = ' ';
BUFCHR(m_rows - 1, c).color = m_color;
}
- if (m_mapped) redraw();
+ if (m_mapped) {
+ if (!Disp::textScroll(m_maprow, m_mapcol, m_rows, m_cols, m_color)) {
+ redraw();
+ }
+ }
}
void SimpleVT::updateCursor() {