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 int

whether to reset tabstops

clearHistory int

whether to empty the terminal's scrollback buffer

Meta