summaryrefslogtreecommitdiff
path: root/tty.h
diff options
context:
space:
mode:
Diffstat (limited to 'tty.h')
-rw-r--r--tty.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tty.h b/tty.h
index 0586977..1f3a4f7 100644
--- a/tty.h
+++ b/tty.h
@@ -9,6 +9,7 @@ typedef struct{
struct termios original_termios;
int fgcolor;
size_t maxwidth;
+ size_t maxheight;
} tty_t;
void tty_reset(tty_t *tty);
@@ -48,5 +49,6 @@ void tty_printf(tty_t *tty, const char *fmt, ...);
void tty_flush(tty_t *tty);
size_t tty_getwidth(tty_t *tty);
+size_t tty_getheight(tty_t *tty);
#endif