-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share code with urwid #37
Comments
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: