kurth · @kurth
33 followers · 478 posts · Server social.tchncs.de

is really nice for fast hacking neat terminal interfaces. gave it a go, much fun :) you won't feel cursed.
urwid.org

#python #urwid

Last updated 3 years ago

FiXato · @FiXato
393 followers · 9412 posts · Server toot.cat

does support overriding each LineBox character. So I should be able to plug in the existing config I wrote at least.
Unfortunately it also suffers from width miscalculations when the label contains more complex emoji, especially for ones that aren't rendered properly by the terminal... I guess that'll end up being an issue that will depend on upstream fixes.
All I could perhaps do is offer a way to specify padding/width offsets for certain glyphs or buttons, but that might only work for my own box implementation rather than LineBox.

#urwid

Last updated 4 years ago

FiXato · @FiXato
393 followers · 9412 posts · Server toot.cat

That feeling when you find out that the function you've been 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 as has urwid.LineBox().
(Though I might miss out on the custom box-drawing glyphs (unless that's also implemented already))

#coding #TUILauncher #urwid

Last updated 4 years ago