Module spin_sdk.wit.imports.wasi_cli_terminal_stdout_0_2_6
An interface providing an optional terminal-output for stdout as a
link-time authority.
Functions
def get_terminal_stdout() ‑> TerminalOutput | None-
Expand source code
def get_terminal_stdout() -> Optional[wasi_cli_terminal_output_0_2_6.TerminalOutput]: """ If stdout is connected to a terminal, return a `terminal-output` handle allowing further interaction with it. """ raise NotImplementedErrorIf stdout is connected to a terminal, return a
terminal-outputhandle allowing further interaction with it.