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
I'm thinking of replacing blessed with rich as a terminal rendering library. Rich is now mature and provides high level features that would be nice for us as we could drop a bunch of custom logic on our side. In particular:
no more need to handle available vertical space to limit the number of processes rendered (the limit() decorator)
automatic cropping or wrapping of long lines
better handling of text split with terminal sequence (would allow to handle horizontal scrolling as suggested in scrolling and wrapping #260 without loosing the formatting, or introducing a bunch of custom logic on our side)
native table rendering
"layouts" allowing to split the screen into multiple areas (possibly with fixed size, and automatic overflow handling)
live display, allowing to refresh only part of the ui
That would be a large refactoring. But, after having played a bit with it, I think it's worth as it will make UI development easier long term.
I'm thinking of replacing blessed with rich as a terminal rendering library. Rich is now mature and provides high level features that would be nice for us as we could drop a bunch of custom logic on our side. In particular:
limit()decorator)That would be a large refactoring. But, after having played a bit with it, I think it's worth as it will make UI development easier long term.
Thoughts?