Comment

Comment by mschuster91

> Occasionally, you need to drop to a linux or bsd console with very limited support for fonts and fancy colors. Then your `fd` and `exa/lsd/whatever` may be unusable and annoying, especially if you have mapped the latter to `ls`.

Normally you should be able to rely on a properly set TERM variable [1], and CLI utilities should respect the capabilities they can gain from the TERM variable.

Sadly, a lot of "modern" CLI tool frameworks - particularly those written in JavaScript - tend to ignore this.

[1] https://www.gnu.org/software/gettext/manual/html_node/The-TE...

parent mschuster91 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton