1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:37:46 +00:00

Terminal: Fix broken selection after dbl/trp click

This commit resets the terminal triple click timer when appropriate.
This commit is contained in:
ryanb-dev 2021-12-14 12:33:20 -06:00 committed by Andreas Kling
parent fb53eacefd
commit 3a6f550b24

View file

@ -807,6 +807,7 @@ void TerminalWidget::mousedown_event(GUI::MouseEvent& event)
else if (m_rectangle_selection) else if (m_rectangle_selection)
m_rectangle_selection = false; m_rectangle_selection = false;
m_triple_click_timer.reset();
update_copy_action(); update_copy_action();
update(); update();
} }