Browse Source

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.
Andreas Kling 4 years ago
parent
commit
192e2d5d50
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Userland/Libraries/LibVT/TerminalWidget.cpp

+ 1 - 0
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);
 }