Skip to content

Underline URLs on mouse hover#2316

Open
dgageot wants to merge 1 commit intodocker:mainfrom
dgageot:underline-urls
Open

Underline URLs on mouse hover#2316
dgageot wants to merge 1 commit intodocker:mainfrom
dgageot:underline-urls

Conversation

@dgageot
Copy link
Copy Markdown
Member

@dgageot dgageot commented Apr 3, 2026

Track hovered URL span in the messages component and apply underline styling during rendering. Switch mouse mode from CellMotion to AllMotion so hover events fire without a button held.

Assisted-By: docker-agent

Track hovered URL span in the messages component and apply underline
styling during rendering. Switch mouse mode from CellMotion to
AllMotion so hover events fire without a button held.

Assisted-By: docker-agent
@dgageot dgageot requested a review from a team as a code owner April 3, 2026 13:10
@krissetto
Copy link
Copy Markdown
Contributor

didn't this have other side-effects in the past? also i'm not sure if it's the most reliable solution across terminals, i'll give it a test on some that I've notice being problematic

@krissetto
Copy link
Copy Markdown
Contributor

On macOS, it's all good using ghostty, warp, iterm2, and Terminal.app

Maybe it was windows that had issues with the AllMotion mouse mode 🤔?

If we could get a test at least on Windows Terminal that'd be great, I won't have access to one until Monday at the best.. Maybe the issue I remember had gotten fixed in the upstream charm libs as well

@dgageot
Copy link
Copy Markdown
Member Author

dgageot commented Apr 7, 2026

@simonferquel could you give it a try?

@simonferquel
Copy link
Copy Markdown
Contributor

What is the test case?

@dgageot
Copy link
Copy Markdown
Member Author

dgageot commented Apr 7, 2026

@simonferquel Ask the agent to print the url of google. Make sure it's underlined and clickable when you move the mouse over it

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.

4 participants