13 lines
228 B
C
13 lines
228 B
C
#ifndef _TERMINAL_H
|
|
#define _TERMINAL_H
|
|
|
|
void die(const char *s);
|
|
|
|
void disableRawMode();
|
|
void enableRawMode();
|
|
|
|
int editorReadKey();
|
|
int getCursorPosition(int *rows, int *cols);
|
|
int setWindowSize(int *rows, int *cols);
|
|
|
|
#endif
|