re_clear_display(): * clear the screen buffers so that new new prompt starts fresh. */
| 1147 | * clear the screen buffers so that new new prompt starts fresh. |
| 1148 | */ |
| 1149 | protected void |
| 1150 | re_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(): |
no outgoing calls
no test coverage detected