Module spin_sdk.wit.imports.wasi_cli_terminal_output_0_2_6

Terminal output.

In the future, this may include functions for querying the terminal size, being notified of terminal size changes, querying supported features, and so on.

Classes

class TerminalOutput
Expand source code
class TerminalOutput:
    """
    The output side of a terminal.
    """
    
    def __enter__(self) -> Self:
        """Returns self"""
        return self
                                
    def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None) -> bool | None:
        """
        Release this resource.
        """
        raise NotImplementedError

The output side of a terminal.