summaryrefslogtreecommitdiff
path: root/Libraries/LibVT/TerminalWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibVT/TerminalWidget.cpp')
-rw-r--r--Libraries/LibVT/TerminalWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibVT/TerminalWidget.cpp b/Libraries/LibVT/TerminalWidget.cpp
index 845650e0d3..c8db17f80c 100644
--- a/Libraries/LibVT/TerminalWidget.cpp
+++ b/Libraries/LibVT/TerminalWidget.cpp
@@ -465,9 +465,9 @@ void TerminalWidget::flush_dirty_lines()
}
Gfx::Rect rect;
for (int i = 0; i < m_terminal.rows(); ++i) {
- if (m_terminal.line(i).dirty) {
+ if (m_terminal.visible_line(i).dirty) {
rect = rect.united(row_rect(i));
- m_terminal.line(i).dirty = false;
+ m_terminal.visible_line(i).dirty = false;
}
}
update(rect);