blob: 1df7ea76a4368bd8aefbe91c9878b17daf20ad11 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#ifndef _TERMINAL_H
#define _TERMINAL_H
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);
#endif
|