peterbrittain / asciimatics

A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Apache License 2.0
3.64k stars 238 forks source link

Fit to elements flag #324

Closed Davidy22 closed 3 years ago

Davidy22 commented 3 years ago

Checks

Issues fixed by this PR

Fixes #322

What does this implement/fix?

New fit flag for fitting to elements before layout width

Davidy22 commented 3 years ago

it does change the default, haven't modified tests, can change back to make it optional if wanted

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.005%) to 97.067% when pulling 81b0f261f161787c167d82f772aff742b4b62434 on Davidy22:master into 5441bc2338a440d9d2cf2aa3bd12aac787ab60b0 on peterbrittain:master.

Davidy22 commented 3 years ago

Oh reeee we have tests for python versions that don't support f strings?

peterbrittain commented 3 years ago

Oh reeee we have tests for python versions that don't support f strings?

:-) Sorry. Still supporting 2.7 for now. At some point I will cut over to pure Python 3 and remove a load of future cruft, but not today.

Davidy22 commented 3 years ago

Whoops, just remembered the changelog thing