Skip to content

Conversation

@clockback
Copy link
Contributor

screen_shape can return (None, None), for instance when run within PyCharm, which causes the following line in core.py to fail:

            bar_format=('=' * cols),

I'm replacing cols, _ = screen_shape(sys.stderr) with cols = screen_shape(sys.stderr)[0] or cols.

 Allowing for screen_shape failure
@ben-denham ben-denham merged commit 185c8fb into lean-python-org:main Sep 17, 2023
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.

2 participants