Module spin_sdk.wit.imports.wasi_cli_terminal_input_0_2_0

Terminal input.

In the future, this may include functions for disabling echoing, disabling input buffering so that keyboard events are sent through immediately, querying supported features, and so on.

Classes

class TerminalInput
Expand source code
class TerminalInput:
    """
    The input 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 input side of a terminal.