Detect that support (e.g. using ANSI cursor position request) and set a console flag for the session. Then allow custom strings when supported or use @-codes to do the special expansion when displaying URLs.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From Deuc¿@VERT to GitLab note in main/sbbs on Sunday, March 30, 2025 03:04:00
So in the example, `printf '\033]8;;http://example.com\033\\This is a link\033]8;;\033\\\n'`, a non-broken but non-supporting terminal would just eat the URL and only display "This is a link"?
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From Deuc¿@VERT to GitLab note in main/sbbs on Monday, March 31, 2025 18:46:00
Well, that's kind of lame. :-( I was hoping the URL would at least be *displayed* for terminals that don't support OSC 8. And that would've made autodetection easy too.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net