Replies: 3 comments 2 replies
-
I'm having a hard time with this out too. @maerzhase were you able to style your osc8 links? My users strongly dislike seeing the wavy underline when the link isn't hovered. |
Beta Was this translation helpful? Give feedback.
-
Styling of OSC 8 links for the normal output state (not hovering state) is not possible from outside, as its handling is deeply woven into the cell attribute handling: xterm.js/src/common/buffer/AttributeData.ts Lines 139 to 211 in e9c547c It would be possible by reimplementing the OSC8 handler xterm.js/src/common/InputHandler.ts Line 2997 in e9c547c xterm.js/src/common/InputHandler.ts Line 3015 in e9c547c and skipping the attribute changes there. But thats only possible via private methods, so untested and on your own risk. @Tyriar Should we make the OCS8 link styling in non-hover state configurable? This would be a somewhat involved change, as we'd have to inject the config setting somehow in the attribute classes. Imho this is the first question in this regard, so demand seems low to me. |
Beta Was this translation helpful? Give feedback.
-
+1 for what RahjIII said, I'd like to see those capabilities as well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using default osc8 links. they are renderd with dashed line by default. I couldn't find any information on how to provide some default styles or customize the link rendering part. i would like to disable the underline alltogether :) would appreciate some help on this! thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions