thrive/01_text_adventure/input.h
2024-08-28 17:27:35 -04:00

10 lines
202 B
C

#define INPUT_BUFFER_MAX_LENGTH 80
typedef struct Input {
char input_buffer[INPUT_BUFFER_MAX_LENGTH];
int input_length;
} Input;
void handle_pressed_keys(Input*);
void clear_input_buffer(Input*);