pytermgui
pytermgui copied to clipboard
Fix focus_next reverse wrapping
When using focus_next with a negative step it would cause an exception instead of properly wrapping around - using modulo makes it work correctly in either direction
See https://github.com/bczsalba/pytermgui/issues/161