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