Skip to content

feat(terminal): clickable links with hover underline & dwell popover - #191

Merged
Cleboost merged 4 commits into
masterfrom
feat/terminal-clickable-links
Nov 26, 2026
Merged

Cleboost merged 4 commits into
masterfrom
feat/terminal-clickable-links

Conversation

@Cleboost

@Cleboost Cleboost commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Link detection (src/core/terminal.rs): detects plain-text URLs (http://, https://, ftp://, ssh://, ws://, file://, www.), handles trailing punctuation & balanced parentheses, spans wrapped lines (Flags::WRAPLINE), and supports OSC 8 terminal hyperlinks.
  • Hover & Ctrl+Click (src/ui/terminal_view.rs): underlines and highlights detected links on hover; holding Ctrl (⌘ on macOS) thickens the underline, switches to a pointing-hand cursor, and opens the URL on click without starting a text selection.
  • Animated dwell popover (src/ui/terminal_view.rs, src/i18n.rs): hovering still on a link for ~420ms opens a glassmorphic popover with a clickable link pill, a quick copy button with feedback, and a live [Ctrl] + Click to open hint (EN/FR).

Test plan

  • cargo test (12/12 passing, including 4 new unit tests for URL/OSC8/wrapped link detection)
  • cargo clippy --all-targets (0 warnings)

Preview

image image

@Cleboost
Cleboost merged commit d1950bc into master Nov 26, 2026
3 checks passed
@Cleboost
Cleboost deleted the feat/terminal-clickable-links branch November 26, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant