Skip to content
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

User input reappears with InteractiveTextInput #387

Closed
ll0utr3 opened this issue Aug 5, 2022 · 2 comments · Fixed by #398
Closed

User input reappears with InteractiveTextInput #387

ll0utr3 opened this issue Aug 5, 2022 · 2 comments · Fixed by #398
Labels
bug Something isn't working RELEASE BLOCKER

Comments

@ll0utr3
Copy link

ll0utr3 commented Aug 5, 2022

Hi, first of all, thank you for this incredible project.
On Windows 11, Go 1.19:

f, _ := pterm.DefaultInteractiveTextInput.Show("First Input")
s, _ := pterm.DefaultInteractiveTextInput.WithMultiLine(true).Show("Second Input")

will output as:

First Input: <my input>
Second Input: <my first input>

so the first input will pop up when i call the second input, i can still use backspace to remove the input but it's a bit embarrassing.

@ll0utr3 ll0utr3 added the bug Something isn't working label Aug 5, 2022
@ll0utr3 ll0utr3 changed the title User input reappears with InteractiveTextInput User input reappears with InteractiveTextInput Aug 6, 2022
@MarvinJWendt
Copy link
Member

Hi @loutrerusse, thanks for the report! I am currently on vacation, I will look into it ASAP!

@wvkranenburg
Copy link

Same here on OSX, thanks for looking in to it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working RELEASE BLOCKER
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants