diff options
author | P. J. McDermott <pj@pehjota.net> | 2015-10-29 16:58:05 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2015-10-29 16:58:05 (EDT) |
commit | 93f3649d5a5e2239dca8dc83418672b6c53e4abc (patch) | |
tree | 1b9043fa818956f368226dc6cbaebbae1c8aadd4 /src | |
parent | 22a728867d6ad1f8f61b91ebc323dfeebaea5e6a (diff) | |
download | firman.sh-93f3649d5a5e2239dca8dc83418672b6c53e4abc.zip firman.sh-93f3649d5a5e2239dca8dc83418672b6c53e4abc.tar.gz firman.sh-93f3649d5a5e2239dca8dc83418672b6c53e4abc.tar.bz2 |
_term_get_escseq(): Handle KEY_HOME and KEY_END on XTerm
Diffstat (limited to 'src')
-rw-r--r-- | src/term.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/term.sh b/src/term.sh index f791a7f..b96d555 100644 --- a/src/term.sh +++ b/src/term.sh @@ -283,6 +283,8 @@ _term_get_escseq() 'B') key=KEY_DOWN;; 'C') key=KEY_RIGHT;; 'D') key=KEY_LEFT;; + 'H') key=KEY_HOME;; + 'F') key=KEY_END;; '3') _term_get_byte case "${term_byte}" in |