diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-08 17:12:23 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-08 17:12:23 +0100 |
| commit | b97ec93748902c90f25524116d3d189f1b263474 (patch) | |
| tree | c1ef2d49937c0e5df28fefe4e88222783adaf3cf /lib/tctl/tctl.h | |
| parent | 262322f9742ee925fe135038a9bbb631acd56b36 (diff) | |
make ls cooler
Diffstat (limited to 'lib/tctl/tctl.h')
| -rw-r--r-- | lib/tctl/tctl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/tctl/tctl.h b/lib/tctl/tctl.h index d106818..bdcdb66 100644 --- a/lib/tctl/tctl.h +++ b/lib/tctl/tctl.h @@ -8,7 +8,19 @@ typedef struct { unsigned short int ws_ypixel; } window_size_t; +typedef struct { + unsigned int c_iflag; + unsigned int c_oflag; + unsigned int c_cflag; + unsigned int c_lflag; + unsigned char c_line; + unsigned char c_cc[32]; + unsigned int c_ispeed; + unsigned int c_ospeed; +} termios_t; + window_size_t tctl_get_window_size(); void tctl_set_window_size(window_size_t size); +int isatty(); #endif |