diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-31 14:11:25 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-31 14:11:25 -0500 |
commit | d7ae78179cf18bc79703ac2199e0ae03e556430f (patch) | |
tree | 3b580699a0a9f5dc2fb41d54936b19aeb90904e9 /command.c | |
parent | 185bf5b364efb4d7885ff5adcb69204e892ff5f7 (diff) |
page up/down
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -100,6 +100,13 @@ void command_execute(Ted *ted, Command c, i64 argument) { case CMD_DELETE_WORD: buffer_delete_words_at_cursor(buffer, argument); break; + + case CMD_PAGE_DOWN: + buffer_page_down(buffer, argument); + break; + case CMD_PAGE_UP: + buffer_page_up(buffer, argument); + break; case CMD_SAVE: buffer_save(buffer); |