From 192e2d5d50a7537f178b8ea94bed1b1d43521c3c Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 10 Apr 2021 00:11:10 +0200 Subject: [PATCH] LibVT: Update TerminalWidget after double-click selection Previously we had to wait for the cursor to blink before we actually got to see what got selected from double-clicking. --- Userland/Libraries/LibVT/TerminalWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibVT/TerminalWidget.cpp b/Userland/Libraries/LibVT/TerminalWidget.cpp index f777c2cbdef..cf8610a95e2 100644 --- a/Userland/Libraries/LibVT/TerminalWidget.cpp +++ b/Userland/Libraries/LibVT/TerminalWidget.cpp @@ -734,6 +734,7 @@ void TerminalWidget::doubleclick_event(GUI::MouseEvent& event) m_selection.set({ position.row(), start_column }, { position.row(), end_column }); update_copy_action(); + update(); } GUI::Frame::doubleclick_event(event); }