summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
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);