muesli/termenv
View on GitHub ↗ ★ 2,030 Go
Advanced ANSI style & color support for your terminal applications
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2021-03-23 · latest 2021-04-04
20082026
-
…returns default black, which is correct in most cases since very few change it to something else. https://github.com/muesli/termenv/blob/d1b90ad4a4915162648dd...
comment by de6u99er · 2021-04-04 · in Show HN: Lip Gloss is a CSS-like layout library for the terminal for Go -
This is the function they are using to detect the background color: https://github.com/muesli/termenv/blob/d1b90ad4a4915162648dd... (There’s a different version of it for Windows.)
comment by jwalton · 2021-04-04 · in Show HN: Lip Gloss is a CSS-like layout library for the terminal for Go -
…assume black. Looks like on unix you could set an environment variable COLORFGBG to override this, https://github.com/muesli/termenv/blob/6bb55115565c27f4cc681... , but if you’re on Windows, tough luck, apparently you’re not allowed to…
comment by chrismorgan · 2021-03-23 · in Tz: A Time Zone Helper