That feeling when you find out that the function you've been #coding to add some functionality to a library, is actually already sort of implemented (and better?) in the library itself...
I guess I can simplify the box-drawing code for #TUILauncher as #urwid has urwid.LineBox().
(Though I might miss out on the custom box-drawing glyphs (unless that's also implemented already))
@[email protected] I don't have a termux install ready to test atm (current backup phone lacks the free storage space for a decent termux install), but from what I remember finger taps would just be translated to mouse clicks at the appropriate coordinates. :)
Anyway, #TUILauncher is still in early days of development, but you can find it at https://github.com/FiXato/tui_launcher :)
@[email protected] with tmux mouse enabled, and my #TUILauncher script I was actually able to control the timer by just clicking on buttons ;)
Unfortunately it seems termdown does not like repeatedly increasing or decreasing the timer, as it will pause the *display* of its countdown for an increasing amount of time, which is apparently a long-standing issue: https://github.com/trehn/termdown/issues/29
Anyway, it was just to show off some terminal magic ;) Of course you should use whatever works for you!