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

Fix getcols can return zero, resulting in divide-by-zero #306

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

sm-shaw
Copy link
Contributor

@sm-shaw sm-shaw commented Jan 14, 2022

Fix for Issue #289, when run in Kubernetes interactive mode, getcols can return a terminal width of zero. This checks if the columns value is detected, if not it will set a default value of 80.

@sm-shaw sm-shaw linked an issue Jan 14, 2022 that may be closed by this pull request
@abondvt89
Copy link
Contributor

Merging Pull Request as voted on by TPC-OSS subcommittee on January 18, 2022.

@abondvt89 abondvt89 merged commit fd4f3a5 into TPC-Council:master Jan 18, 2022
@sm-shaw sm-shaw deleted the 289 branch August 3, 2022 15:31
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

Successfully merging this pull request may close these issues.

getcols can return zero, resulting in divide-by-zero
2 participants