Skip to content

URLs split across multiple lines are not detected as clickable links #3821

Description

@maxcleme

Description

Description

When a URL is wrapped or split across multiple lines in the terminal output (e.g. due to line width), docker-agent fails to detect it as a link. The URL is either entirely rendered as clickable, only the first fragment is picked up.

Steps to Reproduce

  1. Run docker-agent in a terminal with a narrow enough width to cause a long URL to wrap across two lines
  2. Observe the URL in the output
  3. Attempt to click or interact with it

Expected Behavior

URLs that wrap across lines should be joined and rendered as a single clickable link.

Actual Behavior

The link is not detected, or only the first line fragment is treated as a URL, making it unclickable.

Screen.Recording.2026-07-24.at.09.56.23.mov

Metadata

Metadata

Assignees

Labels

area/tuiFor features/issues/fixes related to the TUI

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions