fuNote/terminal.h

14 lines
228 B
C
Raw Normal View History

#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