openclaw/src/tui/components
Phineas1500 331b728b8d
fix(tui): add OSC 8 hyperlinks for wrapped URLs (#17814)
* feat(tui): add OSC 8 hyperlinks to make wrapped URLs clickable

Long URLs that exceed terminal width get broken across lines by pi-tui's
word wrapping, making them unclickable. Post-process rendered markdown
output to add OSC 8 terminal hyperlink sequences around URL fragments,
so each line fragment links to the full URL. Gracefully degrades on
terminals without OSC 8 support.

* tui: harden OSC8 URL extraction and prefix resolution

* tui: add changelog entry for OSC 8 markdown hyperlinks

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-02-22 19:09:07 -05:00
..
assistant-message.ts fix(tui): add OSC 8 hyperlinks for wrapped URLs (#17814) 2026-02-22 19:09:07 -05:00
chat-log.test.ts TUI: bound chat-log growth to prevent render overflows 2026-02-20 20:27:58 -08:00
chat-log.ts TUI: bound chat-log growth to prevent render overflows 2026-02-20 20:27:58 -08:00
custom-editor.ts
filterable-select-list.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
fuzzy-filter.ts
hyperlink-markdown.ts fix(tui): add OSC 8 hyperlinks for wrapped URLs (#17814) 2026-02-22 19:09:07 -05:00
markdown-message.ts refactor(tui): dedupe handlers and formatter test setup 2026-02-22 14:08:51 +00:00
searchable-select-list.test.ts refactor(tui): dedupe handlers and formatter test setup 2026-02-22 14:08:51 +00:00
searchable-select-list.ts fix (tui): harden searchable select ANSI-safe highlighting 2026-02-14 20:01:43 -08:00
selectors.ts
tool-execution.ts fix (tui): sanitize binary-heavy history text before render 2026-02-14 18:29:54 -08:00
user-message.ts refactor(tui): dedupe handlers and formatter test setup 2026-02-22 14:08:51 +00:00