mirror of
https://github.com/RGBCube/serenity
synced 2026-01-19 09:31:00 +00:00
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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Editor.cpp | ||
| Editor.h | ||
| Span.h | ||
| StringMetrics.h | ||
| Style.h | ||
| SuggestionDisplay.h | ||
| SuggestionManager.cpp | ||
| SuggestionManager.h | ||
| VT.h | ||
| XtermSuggestionDisplay.cpp | ||