summaryrefslogtreecommitdiffstats
path: root/smenu.h
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2020-10-24 22:29:24 +0200
committerpgen <p.gen.progs@gmail.com>2020-10-25 21:41:08 +0100
commit7518c762b7c96fb8f86fec41db41de98ece3a5d5 (patch)
tree3a31bf82fcbce1b8736bf713d56680b6a6c856b3 /smenu.h
parent4c56461eb6801051c9f1eb47abc5ccbac12b7848 (diff)
Various modification.
- Fix the initial determination of the terminal size. - Errors when opening /dev/tty are now fatal. - smenu now requires the terminal cursor position retrieval feature. - Remove the method introduced in commit 86af6b7 to get the terminal size as it is non-portable.
Diffstat (limited to 'smenu.h')
-rw-r--r--smenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/smenu.h b/smenu.h
index 58dc2e2..cc67c83 100644
--- a/smenu.h
+++ b/smenu.h
@@ -428,7 +428,7 @@ int
get_cursor_position(int * const r, int * const c);
void
-get_terminal_size(int * const r, int * const c);
+get_terminal_size(int * const r, int * const c, term_t * term);
int
#ifdef __sun