diff options
author | Brad King <brad.king@kitware.com> | 2022-04-11 12:52:23 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-04-11 12:52:29 (GMT) |
commit | 7fc248bde34c529c6f1312a56c7e82303238b9c1 (patch) | |
tree | 4c35ff1787a5da04cf3090cac6d3be1d42d20123 /Source | |
parent | a928984b83f03a712eb611955c6e513f4e7d175e (diff) | |
parent | 0354865061115b97b670bd1d1dea9847d5306af9 (diff) | |
download | CMake-7fc248bde34c529c6f1312a56c7e82303238b9c1.zip CMake-7fc248bde34c529c6f1312a56c7e82303238b9c1.tar.gz CMake-7fc248bde34c529c6f1312a56c7e82303238b9c1.tar.bz2 |
Merge topic 'ccmake-vim-key-navigation'
0354865061 ccmake: Allow Vim keys in cmCursesLongMessageForm
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !7152
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CursesDialog/cmCursesLongMessageForm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx index 9b3a649..8a7bb86 100644 --- a/Source/CursesDialog/cmCursesLongMessageForm.cxx +++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx @@ -191,9 +191,9 @@ void cmCursesLongMessageForm::HandleInput() if (key == 'o' || key == 'e') { break; } - if (key == KEY_DOWN || key == ctrl('n')) { + if (key == KEY_DOWN || key == ctrl('n') || key == 'j') { form_driver(this->Form, REQ_SCR_FLINE); - } else if (key == KEY_UP || key == ctrl('p')) { + } else if (key == KEY_UP || key == ctrl('p') || key == 'k') { form_driver(this->Form, REQ_SCR_BLINE); } else if (key == KEY_NPAGE || key == ctrl('d')) { form_driver(this->Form, REQ_SCR_FPAGE); |