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

AnsiConsole.getTerminalWidth() returns 13249 instead of 200 on Windows with Git Bash #233

Closed
stefanseifert opened this issue Mar 9, 2022 · 0 comments
Milestone

Comments

@stefanseifert
Copy link

Git Bash which comes with the Git installer for windows is quite popular on windows as alternative to PowerShell, cmd and WSL.

in context of a Maven Plugin (mojohaus/versions#572) i ran into the problem that the width value returned by AnsiConsole.getTerminalWidth() produced totally unexpected results when using Git Bash - 13249 instead of 200.

it works fine on the same machine when using PowerShell or cmd.

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

2 participants