Mercurial > hg > toybox
diff lib/lib.h @ 419:af0cca0aba9d
Quick and dirty terminal_size() and yesno() functions, both of which need to be improved.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 02 Feb 2012 07:27:35 -0600 |
parents | 57e1335e59f6 |
children | 1fb149e75ebf |
line wrap: on
line diff
--- a/lib/lib.h Thu Feb 02 07:27:05 2012 -0600 +++ b/lib/lib.h Thu Feb 02 07:27:35 2012 -0600 @@ -108,6 +108,9 @@ void delete_tempfile(int fdin, int fdout, char **tempname); void replace_tempfile(int fdin, int fdout, char **tempname); void crc_init(unsigned int *crc_table, int little_endian); +void terminal_size(unsigned *x, unsigned *y); +int yesno(int def); + // getmountlist.c struct mtab_list {