Functions
Link copied to clipboard
expect fun bind(stdinIsTty: Boolean = false, stdoutIsTty: Boolean = false, stderrIsTty: Boolean = false): TestTerminal
Initialize a TestTerminal instance. Only a single TestTerminal instance can be bound at a time, and only when a Tty is not also bound. Subsequent calls will throw an exception until TestTerminal.close is called.