From 4577605121fa441e5a28c32ce2c33be4c48df89b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 14 Jan 2018 23:15:01 -0600 Subject: Switch xgettty() -> tty_fd() (returning -1 instead of erroring out if none). --- lib/lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index 5dd629d2..94662983 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -274,7 +274,7 @@ int draw_trim_esc(char *str, int padto, int width, char *escmore, int draw_trim(char *str, int padto, int width); // interestingtimes.c -int xgettty(void); +int tty_fd(void); int terminal_size(unsigned *xx, unsigned *yy); int terminal_probesize(unsigned *xx, unsigned *yy); int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy); -- cgit v1.2.3