-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Milestone
Description
Details
- Browser and browser version: Firefox 113.0.2
- OS version: NixOS on https://github.com/NixOS/nixpkgs/tree/7409480d
- xterm.js version: 5.1.0
Steps to reproduce
- Write an OSC 8 Hyperlink into a non-WebGL terminal. Notice that there's a dotted underline underneath the link (WebGL terminals don't seem to have dotted underlines at all).

- Hover over the link.

- Move the mouse away. Notice that the dotted underline is gone.

Reproducing HTML
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="node_modules/xterm/css/xterm.css" />
<script src="node_modules/xterm/lib/xterm.js"></script>
</head>
<body>
<div id="terminal"></div>
<script>
var term = new Terminal();
term.open(document.getElementById("terminal"));
term.write(
"\033]8;;http://example.com\033\\This is a link\033]8;;\033\\\n"
);
</script>
</body>
</html>Reactions are currently unavailable