From c1573dbbb3e70cad8c1f94cbed5b2abf2b124ace Mon Sep 17 00:00:00 2001 From: cflip Date: Mon, 9 Jan 2023 15:47:26 -0700 Subject: Implement basic keyboard event handling --- input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.h') diff --git a/input.h b/input.h index bd286b2..4b7eb05 100644 --- a/input.h +++ b/input.h @@ -20,6 +20,6 @@ enum editor_key { int editor_read_key(); void editor_move_cursor(struct editor_state* editor, int key); -void editor_process_keypress(struct editor_state* editor); +void editor_process_keypress(struct editor_state* editor, int keycode); #endif -- cgit v1.2.3