Bug 514162 - Support hyperlink ANSI codes
Summary: Support hyperlink ANSI codes
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.12.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-04 21:46 UTC by Harald Brunner
Modified: 2026-01-04 21:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Brunner 2026-01-04 21:46:22 UTC
SUMMARY
There is a sequence for adding hyperlinks with arbitrary text which is supported by various terminals that seems currently unsupported. It has this form:
ESC]8;;<url>ESC\<text>ESC]8;;\

A lot of tools I have authored use this, it would be nice if Konsole could support it as well.
For reference, e.g. ghostty supports it.

STEPS TO REPRODUCE
1. Print a link to stdout using the ANSI sequence. E.g.
  printf '\033]8;;%s\033\\%s\033]8;;\033\\' "https://kde.org/" "KDE Website"
2. Ctrl + click the text.

OBSERVED RESULT
No effect.

EXPECTED RESULT
Opens link in default browser/invokes whatever is appropriate for the given protocol.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
-