Documentation
¶
Index ¶
Constants ¶
View Source
const ( Enable = "\x1b[>1u\x1b[?2004h" Disable = "\x1b[?2004l\x1b[<u" )
Enable turns the protocol and bracketed paste on, and Disable puts the terminal back.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder reads keypresses off a terminal.
func NewDecoder ¶
NewDecoder builds a decoder over a buffered terminal.
Click to show internal directories.
Click to hide internal directories.