summaryrefslogtreecommitdiff
path: root/Applications/Terminal/TerminalWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/Terminal/TerminalWidget.cpp')
-rw-r--r--Applications/Terminal/TerminalWidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Applications/Terminal/TerminalWidget.cpp b/Applications/Terminal/TerminalWidget.cpp
index 3b444eb820..883b2e7a6a 100644
--- a/Applications/Terminal/TerminalWidget.cpp
+++ b/Applications/Terminal/TerminalWidget.cpp
@@ -175,6 +175,8 @@ void TerminalWidget::paint_event(GPaintEvent& event)
GPainter painter(*this);
+ painter.add_clip_rect(event.rect());
+
if (m_visual_beep_timer.is_active())
painter.fill_rect(frame_inner_rect(), Color::Red);
else