set_console
set_console(
tty):void
Defined in: src/drivers/tty/console.ts:16
Make a terminal the one /dev/tty and /dev/console talk to.
Attaching one already does this when there isn’t one, so this is only needed to change it.
Parameters
Section titled “Parameters”TTY | null
Returns
Section titled “Returns”void