|
|
|
|
|
by quotemstr
385 days ago
|
|
Except all those times you don't want color at all. > By and large I think terminfo/$TERM is outdated, or at least partly. It's not outdated. It's a Chesterton's fence. Disregard for interoperability and feature discovery is why the terminal ecosystem has such immense difficulty getting traction on advanced features. |
|
> It's a Chesterton's fence.
It's not. The world has changed. Everyone uses \x1b[1m to make text bold today but in the past there were a few dozen ways from different vendors of (hardware) terminals to make text bold. But this situation no longer exists. Like I already said: you still need it for some things – there's a reason I compiled a "safe terminal escape code" list. But for many things you don't.