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

Function re_clear_display

extern/editline/src/refresh.c:1149–1159  ·  view source on GitHub ↗

re_clear_display(): * clear the screen buffers so that new new prompt starts fresh. */

Source from the content-addressed store, hash-verified

1147 * clear the screen buffers so that new new prompt starts fresh.
1148 */
1149protected void
1150re_clear_display(EditLine *el)
1151{
1152 int i;
1153
1154 el->el_cursor.v = 0;
1155 el->el_cursor.h = 0;
1156 for (i = 0; i < el->el_terminal.t_size.v; i++)
1157 el->el_display[i][0] = '\0';
1158 el->el_refresh.r_oldcv = 0;
1159}
1160
1161
1162/* re_clear_lines():

Callers 8

el_setFunction · 0.85
ed_clear_screenFunction · 0.85
ed_commandFunction · 0.85
FUN(el,set)Function · 0.85
terminal_change_sizeFunction · 0.85
read_prepareFunction · 0.85
FUN(el,gets)Function · 0.85
re_goto_bottomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected