6 ms·
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)
by nona 9mo 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.
- marcoroth 9mo agoI guess, to a degree, this is what lipgloss is trying to be/solve: https://github.com/marcoroth/lipgloss-ruby https://github.com/marcoroth/lipgloss-ruby
- nona 9mo agoTo 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.