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

Function _rl_update_pos

extern/editline/src/readline.c:2138–2145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2136}
2137
2138static void
2139_rl_update_pos(void)
2140{
2141 const LineInfo *li = el_line(e);
2142
2143 rl_point = (int)(li->cursor - li->buffer);
2144 rl_end = (int)(li->lastchar - li->buffer);
2145}
2146
2147void
2148rl_get_screen_size(int *rows, int *cols)

Callers 2

rl_initializeFunction · 0.85
rl_bind_wrapperFunction · 0.85

Calls 1

el_lineFunction · 0.85

Tested by

no test coverage detected