> > Unfortunately I can't replicate this. I tried just now with a freshly
> > installed rxvt-unicode package. Tried both with and without tmux running in
> > urxvt, both worked. Let me know if there's some special setup you have and
> > I'll try to track the problem down.
> > 
> > ~Brian
> 
> I'm not sure what's triggering it, but looking at curs_set(3) doc
> I think ERR should simply be ignored:
> 
>        The curs_set routine sets the cursor state is set to invisible, normal,
>        or very visible for visibility equal to 0, 1, or 2 respectively.  If
>        the terminal supports the visibility requested, the previous cursor
>        state is returned; otherwise, ERR is returned.
> 
> This works but I don't know python so there might be a nicer way
> 
>   # Initialize curses
>   try:
>     curses.curs_set(2)
>   except:
>     1

Use the keyword "pass" instead of the constant 1. 

Reply via email to