Terminal.reset

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.

class Terminal
void
reset

Parameters

clearTabstops bool

whether to reset tabstops

clearHistory bool

whether to empty the terminal's scrollback buffer

Meta