Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for OSC 8 sequences (hyperlinks) #1245

Open
danschwarz opened this issue Dec 19, 2022 · 1 comment
Open

Add support for OSC 8 sequences (hyperlinks) #1245

danschwarz opened this issue Dec 19, 2022 · 1 comment
Labels

Comments

@danschwarz
Copy link

OSC 8 is a relatively new escape sequence supporting HTML-like anchors in terminal emulators. GNOME Terminal, iTerm2, Windows Terminal and other terminal apps all support this sequence in their recent versions. Details are here.

Here's a simple command to try out the feature. The result is equivalent to this HTML link: This is a link

printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\n'

Using Mosh 1.4.0 client and server, ubuntu 22.04 on both, with Windows Terminal 1.15.3466.0 the OSC 8 links are not passed from the server to the client. Using a recent version of OpenSSH instead of Mosh, the OSC 8 links are passed correctly.

@achernya achernya changed the title Mosh does not handle OSC 8 sequences (hyperlinks) Add support for OSC 8 sequences (hyperlinks) Dec 19, 2022
@scottchiefbaker
Copy link

I was trying to figure out why this wasn't working... when I Googled "mosh osc 8" this was the first result.

Please add support for OSC 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants