MCPcopy
hub / github.com/c-bata/go-prompt / PosixParser

Struct PosixParser

input_posix.go:15–18  ·  view source on GitHub ↗

PosixParser is a ConsoleParser implementation for POSIX environment.

Source from the content-addressed store, hash-verified

13
14// PosixParser is a ConsoleParser implementation for POSIX environment.
15type PosixParser struct {
16 fd int
17 origTermios syscall.Termios
18}
19
20// Setup should be called before starting input
21func (t *PosixParser) Setup() error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected