We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
liner doesn't support colorful prompt now:
func (s *State) PromptWithSuggestion(prompt string, text string, pos int) (string, error) { for _, r := range prompt { if unicode.Is(unicode.C, r) { return "", ErrInvalidPrompt } }
Why liner doesn't prompt like \033[31;1m\033[0m ?
\033[31;1m\033[0m
The text was updated successfully, but these errors were encountered:
@peterh
Sorry, something went wrong.
Liner doesn't support \033 because it's not portable. Specifically, Windows doesn't support VT102 escape sequences. It has a completely different API.
If you want colour, you want something more powerful (and less opinionated) than liner.
No branches or pull requests
liner doesn't support colorful prompt now:
Why liner doesn't prompt like
\033[31;1m\033[0m
?The text was updated successfully, but these errors were encountered: