Standard escape codes are prefixed with Escape:
- Ctrl-Key: 
^[ - Octal: 
\033 - Unicode: 
\u001b - Hexadecimal: 
\x1b - Decimal: 
27 
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <string.h> | |
| #include <errno.h> | |
| #include <assert.h> | |
| #define FILENAME "./t8.shakespeare.txt" | |
| #define return_defer(value) do { result = (value); goto defer; } while(0) | 
| // External monitor config script | |
| // TODO: build a standalone tool for this that doesnt require the tool | |
| // `xrandr` but performs in the same manner using X11 and Xrandr libs | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <stdbool.h> | |
| #include <errno.h> | |