Return to readline.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libedit |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.106, 2012/10/12 23:35:02 | version 1.107, 2013/01/13 15:46:57 | ||
---|---|---|---|
|
|
||
rl_get_screen_size(int *rows, int *cols) | rl_get_screen_size(int *rows, int *cols) | ||
{ | { | ||
if (rows) | if (rows) | ||
el_get(e, EL_GETTC, "li", rows, NULL); | el_get(e, EL_GETTC, "li", rows, (void *)0); | ||
if (cols) | if (cols) | ||
el_get(e, EL_GETTC, "co", cols, NULL); | el_get(e, EL_GETTC, "co", cols, (void *)0); | ||
} | } | ||
void | void |