summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/window.cpp5
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ae85b429..0984257c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
ncmpcpp 0.7.3 (????-??-??)
+* Home and End keys are now recognized in a few specific terminal emulators.
ncmpcpp-0.7.2 (2016-01-16)
* Attempt to add non-song item to playlist from search engine doesn't trigger assertion failure anymore.
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;