Hi,

how is the cursor position updated using the perl api? I'm trying to modify mark-yank-urls to escape ()& inline, which works, but for each escaped char the cursor position is wrong by one. Which isn't a problem unless I want to write something after the url in which case part of the url is written over. I've tried using $term->screen_cur() but the COLS value isn't updated so if a line is wrapped, urxvt gets a sigabrt the next time I change the line.

The modified script can be downloaded at http://vague.se/mark-yank-urls which will demonstrate the problem.

/Jari

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to