You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A common use of go-prompt is adding autocompletion to CLIs. Occasionally, a CLI will want to autocomplete an argument or flag value with special characters. Right now, rendering these values to the terminal causes syntax errors.
A new option should be created, such that when added to a prompt:
Characters such as $ are escaped before rendering.
Strings containing spaces are surrounded with quotes.
The text was updated successfully, but these errors were encountered:
Feature Request
A common use of
go-prompt
is adding autocompletion to CLIs. Occasionally, a CLI will want to autocomplete an argument or flag value with special characters. Right now, rendering these values to the terminal causes syntax errors.A new option should be created, such that when added to a prompt:
$
are escaped before rendering.The text was updated successfully, but these errors were encountered: