diff options
author | cflip <cflip@cflip.net> | 2023-01-12 10:37:09 -0700 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2023-01-12 10:37:09 -0700 |
commit | ab00e1e288743496e75c5e54c0e6abdecf439642 (patch) | |
tree | db06dd60a6567524b44d7c7fe901142d745854e2 /input.h | |
parent | 54d0e32bced43dc3d85b41e30bcb1fa430ae90dc (diff) |
Move cursor movement into separate functions
Diffstat (limited to 'input.h')
-rw-r--r-- | input.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -18,8 +18,6 @@ enum editor_key { #define CTRL_KEY(k) ((k) & 0x1f) -int editor_read_key(); -void editor_move_cursor(struct editor_state* editor, int key); -void editor_process_keypress(struct editor_state* editor, int keycode); +void editor_process_keypress(struct editor_state *editor, int keycode); #endif |