fuNote/terminal.h
2020-10-20 11:13:45 +02:00

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