Describe the bug
The pytermgui.widgets.extra.Splitter class doesn't use the full width on some size configurations, and it becomes 1 character too thin on either odd or even width numbers.
To Reproduce
Create a Window
Add a Splitter with at least two elements
Try resizing the Window while the program is running
Expected behavior
Splitter width should stay the same, regardless of whether the width is even or odd.
Describe the bug The
pytermgui.widgets.extra.Splitter
class doesn't use the full width on some size configurations, and it becomes 1 character too thin on either odd or even width numbers.To Reproduce
Expected behavior Splitter width should stay the same, regardless of whether the width is even or odd.
System information
Possible cause The math behind the Splitter width distributions has a bug.
Possible solution Fixing the Splitter width distribution math.