1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

Terminal/LibGUI::TextEditor: Add shift+return to search forwards

This adds support for shift+return key combo in single line TextEditor
fields. Used in this case for searching backwards/forwards in the
Terminal find window.
This commit is contained in:
Marcus Nilsson 2021-06-02 13:21:17 +02:00 committed by Andreas Kling
parent 9550564767
commit 11fa3e4f92
3 changed files with 11 additions and 0 deletions

View file

@ -138,6 +138,7 @@ public:
Function<void(bool modified)> on_modified_change;
Function<void()> on_mousedown;
Function<void()> on_return_pressed;
Function<void()> on_shift_return_pressed;
Function<void()> on_escape_pressed;
Function<void()> on_up_pressed;
Function<void()> on_down_pressed;