|
ze
|
Raw terminal mode, key reading, and screen size utilities. More...
#include "ze.h"

Go to the source code of this file.
Functions | |
| void | die (const char *s) |
| Abort the program after resetting the screen and printing perror. | |
| void | disableRawMode (void) |
| Restore cooked terminal mode. | |
| void | enableRawMode (void) |
| Enable raw terminal mode and register an atexit handler. | |
| char | editorReadKey (void) |
Read a key, decoding escape sequences into editorKey values. | |
| int | getCursorPosition (int *rows, int *cols) |
| Query the terminal for the current cursor position. | |
| int | getWindowSize (int *rows, int *cols) |
| Obtain terminal window size in rows and columns. | |
Raw terminal mode, key reading, and screen size utilities.