summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-09-26 15:36:24 -0400
committerpommicket <pommicket@gmail.com>2022-09-26 15:36:24 -0400
commit44c338433284b0ecb3c30cef5aae0cdb3b06901f (patch)
treec5b470bbeb487ce74486e92112320398d59e560e /command.c
parentdfde7bff94240172d3a2a037ec0b77871b71bf56 (diff)
shift+pageup/pagedown
Diffstat (limited to 'command.c')
-rw-r--r--command.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/command.c b/command.c
index b55260d..eda57f0 100644
--- a/command.c
+++ b/command.c
@@ -182,6 +182,12 @@ void command_execute(Ted *ted, Command c, i64 argument) {
case CMD_PAGE_UP:
if (buffer) buffer_page_up(buffer, argument);
break;
+ case CMD_SELECT_PAGE_DOWN:
+ if (buffer) buffer_select_page_down(buffer, argument);
+ break;
+ case CMD_SELECT_PAGE_UP:
+ if (buffer) buffer_select_page_up(buffer, argument);
+ break;
case CMD_OPEN:
menu_open(ted, MENU_OPEN);