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

Incorrect console width detected when running in Docker container #40

Open
istathar opened this issue Jun 26, 2019 · 0 comments
Open

Incorrect console width detected when running in Docker container #40

istathar opened this issue Jun 26, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@istathar
Copy link
Member

For some reason, when running in Docker the console width is determined to be (some small number) rather than whatever the parent enclosing terminal's width is. This is annoying, distorting e.g. --help output.

Strangely the logic in getConsoleWidth traps for failure and returns 80, so it is getting an answer and that answer is wrong. wtf

@istathar istathar added the bug Something isn't working label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant