summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9351436..ac5fcc4 100644
--- a/main.c
+++ b/main.c
@@ -110,6 +110,12 @@ int main(void) {
case SDLK_LEFT:
buffer_cursor_move_left(&text_buffer);
break;
+ case SDLK_UP:
+ buffer_cursor_move_up(&text_buffer);
+ break;
+ case SDLK_DOWN:
+ buffer_cursor_move_down(&text_buffer);
+ break;
}
} break;
}