Merge pull request #3395 from jo-he/master

restore F1 key handling
This commit is contained in:
Maxime Coste 2020-03-06 10:57:27 +11:00 committed by GitHub
commit 6766297623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -694,6 +694,7 @@ Optional<Key> NCursesUI::get_next_key()
case 'D': return masked_key(Key::Left); case 'D': return masked_key(Key::Left);
case 'F': return masked_key(Key::End); // PC/xterm style case 'F': return masked_key(Key::End); // PC/xterm style
case 'H': return masked_key(Key::Home); // 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 'Q': return masked_key(Key::F2);
case 'R': return masked_key(Key::F3); case 'R': return masked_key(Key::F3);
case 'S': return masked_key(Key::F4); case 'S': return masked_key(Key::F4);