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

Duplicate line when wrapped #295

Open
HyperCodec opened this issue Dec 1, 2023 · 1 comment
Open

Duplicate line when wrapped #295

HyperCodec opened this issue Dec 1, 2023 · 1 comment

Comments

@HyperCodec
Copy link

HyperCodec commented Dec 1, 2023

Dialoguer uses a clearline char when an input is interacted with to display the checkmarked version, but if the response wraps to the next line in a console that supports wrapping, it only removes the last line, leaving the entire beginning part of the response and creating a duplicate when it displays the checkmarked version.

@HyperCodec
Copy link
Author

HyperCodec commented Dec 1, 2023

I discovered this in Input<String> with ColorfulTheme, although it may be a recurring issue in other parts of the lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant