An interface providing an optional terminal-output for stdout as a
link-time authority.
Types
Functions
get-terminal-stdout: func() -> option<terminal-output>
If stdout is connected to a terminal, return a terminal-output handle
allowing further interaction with it.
WIT
/// An interface providing an optional `terminal-output` for stdout as a
/// link-time authority.
interface terminal-stdout {
use terminal-output.{terminal-output};
/// If stdout is connected to a terminal, return a `terminal-output` handle
/// allowing further interaction with it.
get-terminal-stdout: func() -> option<terminal-output>;
}