Versions in this module Expand all Collapse all v1 v1.0.4 Feb 18, 2026 v1.0.3 Feb 18, 2026 Changes in this version + const CONTROL_W v1.0.2 Aug 11, 2023 Changes in this version + const ARROW_KEY_INDICATOR + const CONTROL_A + const CONTROL_B + const CONTROL_D + const CONTROL_E + const CONTROL_K + const CONTROL_N + const DELETE_KEY + const DOWN_ARROW + const ENTER_KEY + const ESCAPE_KEY + const HISTORY_ENTRY_LEN_MIN_DEFAULT + const HISTORY_MAX_DEFAULT + const LEFT_ARROW + const REPORT_ERRORS_DEFAULT + const RIGHT_ARROW + const SEARCH_MODE_CHAR_DEFAULT + const TTY + const UP_ARROW + type CLE struct + func NewCLE(options ...Option) *CLE + func (this *CLE) ClearHistory() + func (this *CLE) ReadInput(prompt string) []byte + func (this *CLE) SaveHistory() + type CommandHistory struct + type Option func(*CLE) + func HistoryEntryMinimumLength(historyEntryMinLen int) Option + func HistoryFile(fileName string) Option + func HistorySize(historyMax int) Option + func ReportErrors(reportErrors bool) Option + func SearchModeChar(searchMode byte) Option + func TestMode(testMode bool) Option