mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 02:54:54 +03:00
Terminal: Fix broken selection after dbl/trp click
This commit resets the terminal triple click timer when appropriate.
This commit is contained in:
parent
fb53eacefd
commit
3a6f550b24
Notes:
sideshowbarker
2024-07-17 22:43:25 +09:00
Author: https://github.com/ryanb-dev 🔰 Commit: https://github.com/SerenityOS/serenity/commit/3a6f550b24b Pull-request: https://github.com/SerenityOS/serenity/pull/11258 Issue: https://github.com/SerenityOS/serenity/issues/10591 Reviewed-by: https://github.com/BenWiederhake ✅ Reviewed-by: https://github.com/kleinesfilmroellchen ✅
@ -807,6 +807,7 @@ void TerminalWidget::mousedown_event(GUI::MouseEvent& event)
|
||||
else if (m_rectangle_selection)
|
||||
m_rectangle_selection = false;
|
||||
|
||||
m_triple_click_timer.reset();
|
||||
update_copy_action();
|
||||
update();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user