Bug: on_line not triggered all the time
chneukirchen at gmail.com
Thu May 10 14:50:05 CEST 2012
I noticed the following issue by using mosh together with the "matcher"
extension in urxvt 9.15, but the following small shell script can
trigger the same misbehavior:
echo -en '\033[2;3Hhttp://foo.barzfooquux'
echo -en '\033[2;4Hz'
After running the program in "urxvt -pe matcher", you'll see this
Notice that the URL underlining should be completely removed (because
hztp is not a known protocol), IMO *at least* after the cursor has left
the line (I could understand if it doesnt do it for every char-change in
This seems to happen because on_line is not triggered such that
"matcher" gets re-run.
I never really noticed the issue before, but now I use mosh
(http://mosh.mit.edu), which has a very efficient redrawing algorithm,
and will trigger this behavior frequently because it does not redraw
chars "that already fit" and thus leaves stray underlined chars
whereever a URL used to be.
Any ideas how to fix this?
Christian Neukirchen <chneukirchen at gmail.com> http://chneukirchen.org
More information about the rxvt-unicode