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

Terminal: Allow selecting words by double-clicking them

Bonus feature: also allow selecting the whitespace in-between words by
double-clicking that. :^)
This commit is contained in:
Andreas Kling 2019-08-22 19:59:27 +02:00
parent fae379b1f0
commit 1ca6adee90
2 changed files with 28 additions and 0 deletions

View file

@ -51,6 +51,7 @@ private:
virtual void mousemove_event(GMouseEvent&) override;
virtual void mouseup_event(GMouseEvent&) override;
virtual void mousewheel_event(GMouseEvent&) override;
virtual void doubleclick_event(GMouseEvent&) override;
// ^TerminalClient
virtual void beep() override;