⚙️Reader Settings
In case you want to set things up
The reader has some global settings you can set for each call to Read() or any other derivative functions. They get read each time you call this function or you activate a keybinding that uses one of these settings.
Here are the available settings that you can set:
PasswordMaskCharSets the password masking character.
HistoryEnabledWhether the history is enabled or not.
LeftMarginSets the left margin of the input.
RightMarginSets the right margin of the input.
SuggestionsSets a function that you could use to return an array of strings containing auto completion data.
SuggestionsDelimitersDelimiters to split the current input within a function that returns a list of suggestions.
TreatCtrlCAsInputWhether to treat
Ctrl+Cas input or not. If enabled, TermRead will process this keybinding as aborting the current input.
Last updated