From 3a94ad886e4905caf7a149575357e3b821b32402 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Mon, 18 Jan 2016 14:04:46 +0100 Subject: window: recognize home/end in more terminal emulators --- src/window.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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; -- cgit v1.2.3