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
When the password prompt string is too long, and wrap to a new line, the input typed is displayed.
The input typed is not displayed.
package main import ( "github.com/peterh/liner" "strings" ) func main() { line := liner.NewLiner() line.PasswordPrompt(strings.Repeat("-", 200)) line.Close() }
The text was updated successfully, but these errors were encountered:
Whether password or not, any prompt that is wider than the terminal causes liner to use fallback mode.
Can I suggest printing the lines you want before the password prompt separately, and making sure you use a short string as the password prompt?
Sorry, something went wrong.
alright...
No branches or pull requests
When the password prompt string is too long, and wrap to a new line, the input typed is displayed.
![linerbug](https://user-images.githubusercontent.com/19154488/38398468-7de92afc-3976-11e8-99db-42dc5322a4f2.png)
The input typed is not displayed.
The text was updated successfully, but these errors were encountered: