Skip to content

use "rich" for terminal rendering #261

@dlax

Description

@dlax

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.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions