← Back to context

Comment by nona

1 month ago

Looks great, I'm definitely going to have a look at it.

Off-topic: it'd be nice to have a configuration spec to define the look (and maybe even the behaviour) of the different CLI & TUI libraries out there. For things like colours/borders/corners/shadows/scroll- & progressbars etc.

Right now every library does its own thing, which can be quite jarring when using different apps.

I guess, to a degree, this is what lipgloss is trying to be/solve: https://github.com/marcoroth/lipgloss-ruby

  • To a degree, yes, but I was thinking something in the line of a commonly agreed on file format that defines a default style. To be used by libraries like charm, ratatui, tty, heck maybe even older ones like libnewt etc.

    A bit like base16 but with more definitions and better semantics.