Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2021 (3)
20082026
  1. …returns default black, which is correct in most cases since very few change it to something else. https://github.com/muesli/termenv/blob/d1b90ad4a4915162648dd...
  2. 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.)
  3. …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