Documentation ¶
Overview ¶
Package terminalstdin represents the imported interface "wasi:cli/terminal-stdin@0.2.0".
An interface providing an optional `terminal-input` for stdin as a link-time authority.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTerminalStdin ¶
func GetTerminalStdin() (result cm.Option[TerminalInput])
GetTerminalStdin represents the imported function "get-terminal-stdin".
If stdin is connected to a terminal, return a `terminal-input` handle allowing further interaction with it.
get-terminal-stdin: func() -> option<terminal-input>
Types ¶
type TerminalInput ¶
type TerminalInput = terminalinput.TerminalInput
TerminalInput represents the imported type alias "wasi:cli/terminal-stdin@0.2.0#terminal-input".
See terminalinput.TerminalInput for more information.
Click to show internal directories.
Click to hide internal directories.