|
From: MINAMI H. <mi...@mi...> - 2005-01-02 00:59:45
|
On Sat, 2005-01-01 at 16:48 -0500, Ian Ward wrote: > I'm developing a curses-based UI library for python > (http://excess.org/urwid/) and I've noticed that when I call start_color > the cursor in mlterm becomes invisible. Calling curs_set to enable the > cursor doesn't have any effect. ... > I'm running Debian Sid and I've tested with mlterm 2.8.0 and 2.9.1, and > python 2.1 and 2.3. In the days of 2.8.0, mlterm did not support changing cursor visibility and curs_set should have no effect on it. After 2.9.0, or 2004/05 in CVS, that should work. i.e. echo -e "\033[?25l" or tput civis makes cursor invisible and echo -e "\033[?25h" or tput cnorm reverts it. So your problem occurs both of them, it seems to be in the color for drawing cursor not in the cursor state. I couldn't find a demo that uses "start_color" under python2.3-2.3.4/Demo/curses and not sure what the problem is. Could you prepare some tiny test case? BTW, cursor state(invis/norm) currently doesn't save/restored and are sheared between normal/alternate screen. Are they intentional ?> Sato san regards, -- minami <mi...@mi...> |