summaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2023-01-09 15:47:26 -0700
committercflip <cflip@cflip.net>2023-01-09 15:47:26 -0700
commitc1573dbbb3e70cad8c1f94cbed5b2abf2b124ace (patch)
tree8333d29b92f12f7cbf97deb38e25875887d6b19a /input.h
parent54d8fdd290e21ae8c773b4228827ee7539637ce8 (diff)
Implement basic keyboard event handling
Diffstat (limited to 'input.h')
-rw-r--r--input.h2
1 files changed, 1 insertions, 1 deletions
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