diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-04 12:51:35 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-04 12:51:35 -0500 |
commit | b006db3fe4da1beb38909232ceaf1c370415c61a (patch) | |
tree | 72b3faba6c8a9895fe7aecdd42b582b59e9141e5 /main.c | |
parent | 1656628aaa62cf4a3c29408eb24e3de1486573fb (diff) |
fix arrow keys with tabs
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; } |