xyb3rt / urxvt-perls

Perl extensions for the rxvt-unicode terminal emulator
GNU General Public License v2.0
753 stars 110 forks source link

Allow terminal wrapped urls in ncurses based programs #41

Closed cdown closed 10 years ago

cdown commented 10 years ago

When I receive a particularly long link in an e-mail and it wraps, only the first line is highlighted. This occurs in Mutt (and I assume other ncurses based programs), but not in regular operation without a TUI. I assume it occurs because the text is manually placed instead of being wrapped.

This will not work for all cases (for example, if a sidebar is being used), and there may be a more elegant solution, but one way to perhaps solve this in the majority of cases would be to, if at the last character of line and still in a matching URL, allow the next line to continue it.

It is quite possible that this sucks too much to implement it, I just wanted to get your thoughts on it, since my main use of URL selection is within Mutt.

You can see this here: http://imgur.com/83WrrN9

Phyks commented 10 years ago

+1

The same problem happens in weechat with long urls in a buffer.

xyb3rt commented 10 years ago

Duplicate of issue #6