News for hackers. Stuff that matters.
Re:Show HN: Zli – A Batteries-Included CLI Framework for Zig by quotemstr on Sunday May 25, 2025 @08:48PM (#44092800)
Most terminals are not kitty. Should my program not work with them? What happens when kitty adds a feature? How do I know whether it's supported?

What we really need is robust feature detection, not TERM. The terminal universe doesn't seem particularly receptive to the idea: https://github.com/alacritty/vte/issues/98

In the meantime, we have TERM. I'll stop advocating people use TERM when the terminal ecosystem learns what the web had to learn ages ago and embraces feature detection. It's pointless to break even UA detection.

(Unfortunately, as the thread shows, XTGETCAP is broken in too many places to use.)

There are no comments on this comment yet.