line reader library
The readline module is responsible for reading input from the user.
The readline module is what Hilbish uses to read input from the user,
including all the interactive features of Hilbish like history search,
syntax highlighting, everything. The global Hilbish readline instance
is usable at hilbish.editor
.
new() -> @Readline | Creates a new readline instance. |
Creates a new readline instance.
This function has no parameters.
Deletes characters in the line by the given amount.
Returns the current input line.
Returns the text that is at the register.
Inserts text into the Hilbish command line.
Prints a message before the prompt without it being interrupted by user input.
Reads input from the user.
Reads a keystroke from the user. This is in a format of something like Ctrl-L.
Sets the vim register at register
to hold the passed text.
Want to help improve this page? Create an issue.