2024-12-14 00:30:44 +00:00
|
|
|
// Code generated by wit-bindgen-go. DO NOT EDIT.
|
|
|
|
|
|
|
|
// Package terminalstdin represents the imported interface "wasi:cli/terminal-stdin@0.2.0".
|
|
|
|
package terminalstdin
|
|
|
|
|
|
|
|
import (
|
2024-12-14 00:56:22 +00:00
|
|
|
terminalinput "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/cli/terminal-input"
|
2024-12-14 00:30:44 +00:00
|
|
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TerminalInput represents the imported type alias "wasi:cli/terminal-stdin@0.2.0#terminal-input".
|
|
|
|
//
|
|
|
|
// See [terminalinput.TerminalInput] for more information.
|
|
|
|
type TerminalInput = terminalinput.TerminalInput
|
|
|
|
|
|
|
|
// GetTerminalStdin represents the imported function "get-terminal-stdin".
|
|
|
|
//
|
|
|
|
// get-terminal-stdin: func() -> option<terminal-input>
|
|
|
|
//
|
|
|
|
//go:nosplit
|
|
|
|
func GetTerminalStdin() (result cm.Option[TerminalInput]) {
|
|
|
|
wasmimport_GetTerminalStdin(&result)
|
|
|
|
return
|
|
|
|
}
|