-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
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
Prompt resource doesn't remove cursor when ENTER key is pressed. #117
Prompt resource doesn't remove cursor when ENTER key is pressed. #117
Comments
You could try my fork. I fixed it in some way. |
Is the issue just that the length in bytes is different than the length in runes then @chriszzt? Assuming https://github.com/tigergraph/promptui/pull/2/files is the relevant PR and not https://github.com/tigergraph/promptui/pull/1/files, I mean - since 1 was much larger than 2 |
see manifoldco/promptui#117 a version override is added for go-i18n to avoid go mod issues
Oh, actually By the way, the cursor issue is handled by |
Fixed echo of cursor after input is finished. (fixes #117)
Code:
The string that I get back from prompt.Run doesn't include the cursor, though.
The text was updated successfully, but these errors were encountered: