News for hackers. Stuff that matters.
Re:Show HN: Zli – A Batteries-Included CLI Framework for Zig by quotemstr on Sunday May 25, 2025 @05:26PM (#44091296)
NO_COLOR is far from universally supported (even people who bother to check TERM don't know about it) and typically isn't configured to pass through sudo or ssh.
Re:Show HN: Zli – A Batteries-Included CLI Framework for Zig by arp242 on Sunday May 25, 2025 @05:38PM (#44091417)
> NO_COLOR is far from universally supported

I never claimed that. The sudo or ssh configuration is up to you. Or else there's |cat, which often works when NO_COLOR doesn't.

Either way, terminfo was never intended to allow users to disable colours. Certainly not via TERM=dumb – that was always a hack. If you want to disable colours then there are better ways.