Terminal().hasTerminal
.Ansi.isSupported
.clearScreen
method takes an optional named argument 'mode'. By default mode is TerminalClearMode.all
.Terminal().cursorDown();
Terminal().cursorLeft()
final current = Terminal().column;
Terminal().column = 10;
columns
Return the width of the terminal in columns. As the user can resize the terminal this value may change over time.
Terminal().overwriteLine('Hello World');
row
row
property acts as both a getter and a setter. final current = Terminal().row;
Terminal().row = 10;
rows