Closed baskerville closed 13 years ago
There is no way to get/set the cursor visibility from a perl extension in rxvt-unicode (term->hidden_cursor does not work). But you can patch rxvt-unicode to disable the cursor hiding (http://pastebin.com/er6V1zx6).
I can hide / show the cursor with the following commands:
URxvt.keysym.C-0: command:\033[?25l
URxvt.keysym.M-C-0: command:\033[?25h
I finally figured it out, adding
$self->cmd_parse($self->locale_encode("\e[?25h"));
in the activate sub makes the cursor visible.
I don't know if it is possible but it would be nice to be able to see the cursor in applications where it is disabled (for example mocp).