top | item 46437545

(no title)

nona | 2 months 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.

discuss

order

marcoroth|2 months ago

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

nona|2 months ago

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.