2018-10-18 12:00:56 +02:00
|
|
|
#ifndef _TERMINAL_H
|
|
|
|
#define _TERMINAL_H
|
|
|
|
|
|
|
|
void die(const char *s);
|
|
|
|
|
|
|
|
void disableRawMode();
|
|
|
|
void enableRawMode();
|
|
|
|
|
|
|
|
int editorReadKey();
|
|
|
|
int getCursorPosition(int *rows, int *cols);
|
2018-10-18 13:27:51 +02:00
|
|
|
int setWindowSize(int *rows, int *cols);
|
2018-10-18 12:00:56 +02:00
|
|
|
|
|
|
|
#endif
|