summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2016-01-18 14:04:46 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2016-01-18 14:04:46 +0100
commit3a94ad886e4905caf7a149575357e3b821b32402 (patch)
treeda1a4264e12a5f7b7abda603f48d5750d46c6464 /src
parentb3473e290ce1caeab9d18da689607013ffac9652 (diff)
window: recognize home/end in more terminal emulators
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 970293ab..85bfd03b 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -819,6 +819,11 @@ Key::Type Window::getInputChar(int key)
return Key::Right;
case 'D':
return Key::Left;
+ // terminator
+ case 'F':
+ return Key::End;
+ case 'H':
+ return Key::Home;
// rxvt
case 'a':
return Key::Ctrl | Key::Up;