OSC 8 Hyperlink Escape Sequence (Terminal Hyperlinks)

#58 · open · 0 comments

View on GitHub ↗

chen3feng

You can create a clickable hyperlink in the terminal by using the `OSC 8 Hyperlink Escape Sequence`, exmaple: ```bash $ echo -e "\e]8;;https://example.com\aClick here\e]8;;\a" ``` It prints: [Click here](https://example.com) See: - https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda - https://github.com/Alhadis/OSC8-Adoption

Comments