From 757efb85045408e2601da0f53547941a40d2e960 Mon Sep 17 00:00:00 2001 From: cflip Date: Tue, 31 Jan 2023 10:46:21 -0700 Subject: Start implementing editor commands This first step allows you to press the semicolon key to enter command mode, where you can type into a command line. Currently, pressing enter when in command mode will clear the command line but since there are no commands implemented it doesn't matter what you type in there. --- input.h | 1 + 1 file changed, 1 insertion(+) (limited to 'input.h') diff --git a/input.h b/input.h index 85dbdde..12b1bc4 100644 --- a/input.h +++ b/input.h @@ -4,6 +4,7 @@ #include "editor.h" #include +void input_process_textinput(struct editor_state *editor, const char *text); void editor_process_keypress(struct editor_state *editor, SDL_Keysym *keysym); #endif -- cgit v1.2.3