Skip to content

Fixes terminal size#128

Open
LittleLightLittleFire wants to merge 1 commit intocs50:mainfrom
LittleLightLittleFire:main
Open

Fixes terminal size#128
LittleLightLittleFire wants to merge 1 commit intocs50:mainfrom
LittleLightLittleFire:main

Conversation

@LittleLightLittleFire
Copy link

os.get_terminal_size() has been available since python 3.3.
Also the existing code crashes because TIOCGWINSZ is expecting an 8 byte buffer.

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.

1 participant