package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 4, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go_input_history
Package input history contains structs and methods to aid in developing cli ui's with input history
Documentation
¶
History struct to hold the history of the user input
HasLine will return true if the history buffer contains the given string
IsEmpty return true if the history data array is empty
Next returns the history line after the current index
Prev returns the previous history line from the current index
SetIndexToNew sets the index to the new elements index
Source Files
¶
Click to show internal directories.
Click to hide internal directories.