You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most sensible way to do this is probably making urwid a dependency of curtsies - it's not a painful dependency at all. Presumably this doesn't mean we should remove blessings, just add urwid.
Things we could do:
have a fmtstr rendering method that uses urwid things (could also do this with blessings)
?
The text was updated successfully, but these errors were encountered:
We shouldn't do this if it's limiting - just if it means less code to maintain. Also check out @gwk's stuff: https://github.com/gwk/gloss/blob/master/python/gloss/io/sgr.py - if it's more elegant or powerful we don't want to limit ourselves. For this issue, we should take stock of everything adding an urwid dependency would simplify.
I'd also be happy to separate out the low-level terminal handling parts of urwid into another package that urwid and any other package could use. urwid is an easy dependency because it doesn't require anything else, but it is kind of large :-)
It's nicer if we can settle on one way of doing the sort of thing that urwid's AttrSpec so we can share code without adding layers for converting things back and forth.
This looks less likely: I'm planning to make FmtStr be closer to Blessed formatted strings. However this should still be checked out, I'm not sure how colored strings are going to work.
-@wardi
Most sensible way to do this is probably making urwid a dependency of curtsies - it's not a painful dependency at all. Presumably this doesn't mean we should remove blessings, just add urwid.
Things we could do:
The text was updated successfully, but these errors were encountered: