Make links in Claude's output clickable #59

Merged
jknapp merged 5 commits from feat/clickable-links-in-claude-output into main 2026-09-19 03:20:15 +00:00
Showing only changes of commit 83c9c24951 - Show all commits
@@ -1664,7 +1664,7 @@ describe("the link handler is wired into the terminal, and reads its live mode",
await write("\x1b[?1002h");
wiredHandler().activate(
new MouseEvent("click", { button: 0 }),
new MouseEvent("click", { button: 0, detail: 1 }),
"https://example.com/x",
range,
);
@@ -1679,7 +1679,7 @@ describe("the link handler is wired into the terminal, and reads its live mode",
await act(async () => {
wiredHandler().activate(
new MouseEvent("click", { button: 0 }),
new MouseEvent("click", { button: 0, detail: 1 }),
"https://example.com/x",
range,
);