#705638 mutt: wrapped lines in the pager interfere with URL detection

Package:
mutt
Source:
mutt
Description:
text-based mailreader supporting MIME, GPG, PGP and threading
Submitter:
Jeffrey Sheinberg
Date:
2026-06-24 01:51:01 UTC
Severity:
normal
Tags:
#705638#5
Date:
2013-04-17 19:28:02 UTC
From:
To:
Hi,

I  run mutt in an xfce4-terminal, which detects URLs, underlines them
when the mouse pointer hovers over them, and then sends the detected URL
to x-www-browser when the mouse is clicked on the detected and
underlined URL.

When the tail of such a URL is too large to fit on the remainder of the
line, then mutt wraps the remainder of the URL to the next line.

The problem is that mutt wraps the line in such a manner that the URL
detection feature of xfce4-terminal cannot detect that the wrapped
remainder on the next line is actually the tail of the detected URL.

Other programs that wrap lines, e.g., less and vim, also wrap lines in a
manner similar to mutt, however, xfce4-terminal is able to fully identify
the complete URL in question when is has been wrapped by less or vim.

I am aware of the urlview feature (Control-B) that mutt supports,
however, to send a single URL to the x-www-browser, it is much easier to
be able to just click on it with the mouse.

Thanks,
Jeffrey Sheinberg