Bug 514162

Summary: Support hyperlink ANSI codes
Product: [Applications] konsole Reporter: Harald Brunner <Harald.Demian.Brunner>
Component: generalAssignee: Konsole Bugs <konsole-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 25.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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
-