Documentation ¶
Index ¶
Constants ¶
View Source
const CodeESC = 27 // \x1b = \d27= ESC
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TKey ¶
type TKey struct { KeyDefault string // The key to be returned if time out occurs TTL int // The time wait user input in seconds DescriptorFile uintptr // For os.Stdout.Fd dependency injection ForceDefault bool // If true it will return the default key (for testing) DurationDefault int // The default time wait user input in seconds }
Click to show internal directories.
Click to hide internal directories.