Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
192e2d5d50
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
 }