From 3881dc1e7aa79b00406a1b33c8587f06e3e297c6 Mon Sep 17 00:00:00 2001 From: Joachim Henke <37883863+jo-he@users.noreply.github.com> Date: Wed, 4 Mar 2020 09:06:46 +0100 Subject: [PATCH] restore F1 key handling --- src/ncurses_ui.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 1f9e1f81..55bdfda2 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -694,6 +694,7 @@ Optional NCursesUI::get_next_key() case 'D': return masked_key(Key::Left); case 'F': return masked_key(Key::End); // PC/xterm style case 'H': return masked_key(Key::Home); // PC/xterm style + case 'P': return masked_key(Key::F1); case 'Q': return masked_key(Key::F2); case 'R': return masked_key(Key::F3); case 'S': return masked_key(Key::F4);