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

Prompt does not play well with ANSI hyperlinks #1261

Closed
TooTallNate opened this issue Jul 13, 2023 · 4 comments
Closed

Prompt does not play well with ANSI hyperlinks #1261

TooTallNate opened this issue Jul 13, 2023 · 4 comments

Comments

@TooTallNate
Copy link

We noticed incorrect line breaks when the prompt name value contains an ANSI hyperlink escape code.

253390699-8cda40c5-3b57-422e-927c-ae60f6937654
@SBoudrias
Copy link
Owner

SBoudrias commented Jul 13, 2023

Hey, this might be a bug coming from https://github.com/chalk/wrap-ansi which inquirer uses under the hood.

Could you provide more information about the inquirer package you're using and the version?

@TooTallNate
Copy link
Author

Realizing that we are on a rather old version of inquirer (v7). Will see if the same issue persists with latest.

@SBoudrias
Copy link
Owner

Hey @TooTallNate, any news on this issue on later versions? v8 is still CSM compatible (v9 is not) if that caused issue with bumping.

@TooTallNate
Copy link
Author

Seems like it works fine on the latest version. Sorry for the noise.

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

No branches or pull requests

2 participants