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

stty size #7

Open
jestland opened this issue Jan 30, 2022 · 1 comment
Open

stty size #7

jestland opened this issue Jan 30, 2022 · 1 comment

Comments

@jestland
Copy link

Hi, thanks for sharing. And could you explain the stty size in the code
_, term_width = os.popen('stty size', 'r').read().split()
I have the ValueError: not enough values to unpack (expected 2, got 0)

@wangzhao-11a
Copy link

Have you solved the problem yet

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