diff options
Diffstat (limited to 'terminal.h')
-rw-r--r-- | terminal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h new file mode 100644 index 0000000..529ba74 --- /dev/null +++ b/terminal.h @@ -0,0 +1,7 @@ +#pragma once + +void die(const char* message); +void disable_raw_mode(); +void enable_raw_mode(); +int get_cursor_position(int* rows, int* cols); +int get_window_size(int* rows, int* cols); |