mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
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:
parent
088ae37541
commit
192e2d5d50
Notes:
sideshowbarker
2024-07-18 20:36:34 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/192e2d5d50a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue