Companion

expect object Companion
actual object Companion
actual object Companion

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.

actual fun bind(stdinIsTty: Boolean, stdoutIsTty: Boolean, stderrIsTty: Boolean): TestTerminal
actual fun bind(stdinIsTty: Boolean, stdoutIsTty: Boolean, stderrIsTty: Boolean): TestTerminal