From ab00e1e288743496e75c5e54c0e6abdecf439642 Mon Sep 17 00:00:00 2001 From: cflip Date: Thu, 12 Jan 2023 10:37:09 -0700 Subject: Move cursor movement into separate functions --- input.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'input.h') diff --git a/input.h b/input.h index 4b7eb05..33f349f 100644 --- a/input.h +++ b/input.h @@ -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 -- cgit v1.2.3