summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-08-06 10:52:18 -0400
committerAndreas Kling <kling@serenityos.org>2020-08-06 17:45:31 +0200
commit4d9d054386d75c3f7bae91cb9224593fdc0bb5fe (patch)
treeb9ae8ed8dbaa719e1bd7b72a57ff415a3a3c86ce /Ports
parent471083ca3dd73bdcf176e9b9c8983c534cdeb154 (diff)
downloadserenity-4d9d054386d75c3f7bae91cb9224593fdc0bb5fe.zip
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.
Diffstat (limited to 'Ports')
0 files changed, 0 insertions, 0 deletions