1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00
serenity/Libraries/LibLine
Nico Weber 4d9d054386 Shell: Start adding some alt shortcuts
This adds Alt-f to go forward by a word, and Alt-b to go backward
by a word (like ctrl-arrow-left / ctrl-arrow-right already do).

Behind the scenes, alt-key is implemented by sending <esc> followed
by that key, and typing <esc> f/b for moving by a word hence works
too (in all other shells too, not just in Serenity's).

While here, rename some InputState enum values to make the slightly
expanded use of <esc> clearer, and expand a few comments.
2020-08-06 17:45:31 +02:00
..
CMakeLists.txt LibLine: Refactor suggestion handling and display logic out 2020-05-23 01:31:41 +02:00
Editor.cpp Shell: Start adding some alt shortcuts 2020-08-06 17:45:31 +02:00
Editor.h Shell: Start adding some alt shortcuts 2020-08-06 17:45:31 +02:00
Span.h LibLine: Remove unused header in Span.h 2020-05-29 07:59:45 +02:00
StringMetrics.h LibLine: Correctly display suggestions on multiline prompts 2020-06-30 18:21:44 +02:00
Style.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
SuggestionDisplay.h LibLine: Removed unused private field m_prompt_metrics 2020-08-04 17:42:08 +02:00
SuggestionManager.cpp Unicode: Try s/codepoint/code_point/g again 2020-08-05 22:33:42 +02:00
SuggestionManager.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
VT.h LibLine: Refactor suggestion handling and display logic out 2020-05-23 01:31:41 +02:00
XtermSuggestionDisplay.cpp AK: Fix overflow and mixed-signedness issues in binary_search() (#2961) 2020-08-02 21:10:35 +02:00