Documentation
¶
Overview ¶
Package readline provides a minimal raw-terminal event backend for interact/ui.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// Fallback is used when input is not a real terminal stream.
Fallback backend.Backend
// StrictTTY disables fallback and returns a TTY-related error instead.
StrictTTY bool
}
Backend creates raw-terminal sessions backed by golang.org/x/term.
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session is a raw-terminal session.
Click to show internal directories.
Click to hide internal directories.