reset
Description:
Resets as much of the terminal's internal state as possible, discarding any unprocessed input data, resetting character attributes, cursor state, national character set state, status line, terminal modes (insert/delete), selection state, and encoding.
Parameters:
| this |
a Terminal |
| clear_tabstops |
whether to reset tabstops |
| clear_history |
whether to empty the terminal's scrollback buffer |