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.
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