3 ms·
Even the 8 colors can be suboptimal depending on the scheme. E.g. Vim and Emacs try to determine whether your terminal background is light or dark, and use a s
by albertzeyer 6y ago
Even the 8 colors can be suboptimal depending on the scheme.
E.g. Vim and Emacs try to determine whether your terminal background is light or dark, and use a somewhat different scheme depending on that.
However, determining whether it is light or dark is not straight forward. I did some research on how other tools (Vim, Emacs, many others) do it: https://stackoverflow.com/a/54652367/133374 https://stackoverflow.com/a/54652367/133374