mirror of
https://github.com/RGBCube/serenity
synced 2025-07-05 13:07:35 +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
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 });
|
m_selection.set({ position.row(), start_column }, { position.row(), end_column });
|
||||||
update_copy_action();
|
update_copy_action();
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
GUI::Frame::doubleclick_event(event);
|
GUI::Frame::doubleclick_event(event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue