> (There’s precisely one thing like this I’m aware of terminal emulators adding in recent memory: clickable links, ca. six years ago.)
And they are often disabled by default, as a potential security risk. We don't get to have fun things, do we? (also worth read: CVE-2003-0063, abusing escape seq is unfortunately a valid concern against adding more stuff).
On the other hand, more and more emulators are adding support for various graphic protocols (sixel, iTerm2 format, kitty format).
> I’ve been waiting for one or more terminal emulators to get together and add some ridiculous new escape codes[...]
Well, it's not much, but mintty apparently has some interesting stuff like audio support[0], and codes for font size and font family[1][2].
iTerm2 also has a bunch of custom escape sequences of varying level of usefulness starting from displaying fireworks animation on cursor position to sending system notifications[3] (although sadly I could not get the last one to work for me).
For some semblance of forms, you can check bubbles[4] and gum[5] (binary to easily incorporate the components into shell scripts).
> And they are often disabled by default, as a potential security risk.
Well, that and a clickable link would conflict with mouse reporting if both were active at once.
Given that mouse reporting exists, and "has precedence" due to its age, I think iTerm's choice — to style the anchor-SGR text either way, but to only make them actually act like links rather than text if you hold a modifier key — is the only "correct" behavior for rendering anchor-SGR text, regardless of security concerns.
But that really wouldn't be true for most other potential novel graphical-rendition "styles." Anything that's non-interactive could certainly be on by default.
And they are often disabled by default, as a potential security risk. We don't get to have fun things, do we? (also worth read: CVE-2003-0063, abusing escape seq is unfortunately a valid concern against adding more stuff).
On the other hand, more and more emulators are adding support for various graphic protocols (sixel, iTerm2 format, kitty format).
> I’ve been waiting for one or more terminal emulators to get together and add some ridiculous new escape codes[...]
Well, it's not much, but mintty apparently has some interesting stuff like audio support[0], and codes for font size and font family[1][2].
iTerm2 also has a bunch of custom escape sequences of varying level of usefulness starting from displaying fireworks animation on cursor position to sending system notifications[3] (although sadly I could not get the last one to work for me).
For some semblance of forms, you can check bubbles[4] and gum[5] (binary to easily incorporate the components into shell scripts).
[0]: https://github.com/mintty/mintty/wiki/CtrlSeqs#audio-support
[1]: https://github.com/mintty/mintty/wiki/CtrlSeqs#font-size
[2]: https://github.com/mintty/mintty/wiki/Tips#alternative-fonts
[3]: https://iterm2.com/documentation-escape-codes.html
[4]: https://github.com/charmbracelet/bubbles
[5]: https://github.com/charmbracelet/gum