Hacker News new | ask | show | jobs
by kevin_thibedeau 4 days ago
> Even fancier terminal UIs, like Vim and htop, extend the ANSI codes for cursor positioning and screen manipulation

These aren't an extension. They're either part of ECMA-48 like the color codes or legacy from VT52/VT100 that has become de facto standard.

1 comments

I don’t think that’s right. Ghostty has its own TERM=xterm-ghostty value, which surely it wouldn’t need if it supported nothing more than ECMA-48/VT100.
That's usually only necessary for more questionable things that was niche for a reason, like file transfer, images, audio, and rediscovering the root cause of old security issues like this all over again: https://web.archive.org/web/20030302210517/http://www.digita...
Cursor movement isn't an extension. Xterm extensions don't deal with in terminal rendering.