MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / rl_get_screen_size

Function rl_get_screen_size

extern/editline/src/readline.c:2147–2154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2145}
2146
2147void
2148rl_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
2156void
2157rl_set_screen_size(int rows, int cols)

Callers

nothing calls this directly

Calls 1

el_getFunction · 0.85

Tested by

no test coverage detected