>     +   Use BEL instead of ST, as that is currently rendered better in some'
>     +   terminal emulators that don't support OSC 8, like konsole.  */

Konsole has supported OSC 8 for a long time now, including ST terminator.

I've checked the behavior of 15 terminals that I have locally
available and thus quick access to.  None of them misparses OSC 8 + ST
or produces garbage.  (alacritty, foot, kitty, konsole, linux vt,
mlterm, putty, screen, st, terminology, tmux, urxvt, vte, xterm,
zutty)

If still in doubt that there might be some outdated terminal out there
mishandling it, you might want to defer this change until after the
next releaes, to give it more testing in git.


> Also, isn't \e is a GCC extension and not standardized, see C23 § 5.2.3.
> I assume it is widly supported, but am not 100% sure on that. You might
> want to use \033 instead.

Nice catch.  The opening OSC, sometimes in the very same string
constant, uses \033.  Let's be safe and consistent.


e.

Reply via email to