fuNote/src/terminal.h
2018-10-19 13:36:54 +02:00

14 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