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);