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.
This commit is contained in:
Andreas Kling 2021-04-10 00:11:10 +02:00
parent 088ae37541
commit 192e2d5d50
Notes: sideshowbarker 2024-07-18 20:36:34 +09:00

View file

@ -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);
}