Documentation ¶
Index ¶
- func AddCompletion(lc unsafe.Pointer, completion string)
- func ClearScreen()
- func HistoryAdd(line string) (done bool)
- func HistoryLoad(filename string)
- func HistorySave(filename string)
- func HistorySetMaxLen(length int)
- func PrintKeyCodes()
- func Scan(prompt string) (line string, end bool)
- func SetCompletionCallback(fn CompletionCallback)
- func SetMultiLine(yes bool)
- type CompletionCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCompletion ¶
func ClearScreen ¶
func ClearScreen()
func HistoryAdd ¶
func HistoryLoad ¶
func HistoryLoad(filename string)
func HistorySave ¶
func HistorySave(filename string)
func HistorySetMaxLen ¶
func HistorySetMaxLen(length int)
func PrintKeyCodes ¶
func PrintKeyCodes()
func SetCompletionCallback ¶
func SetCompletionCallback(fn CompletionCallback)
func SetMultiLine ¶
func SetMultiLine(yes bool)
Types ¶
type CompletionCallback ¶
Click to show internal directories.
Click to hide internal directories.