| 2145 | } |
| 2146 | |
| 2147 | void |
| 2148 | rl_get_screen_size(int *rows, int *cols) |
| 2149 | { |
| 2150 | if (rows) |
| 2151 | el_get(e, EL_GETTC, "li", rows, (void *)0); |
| 2152 | if (cols) |
| 2153 | el_get(e, EL_GETTC, "co", cols, (void *)0); |
| 2154 | } |
| 2155 | |
| 2156 | void |
| 2157 | rl_set_screen_size(int rows, int cols) |