Danek Duvall wrote:
> Keith Mitchell wrote:
>
>   
>> While that code specifically works, the following code doesn't work.
>> After manually recompiling Python 2.4.4 against ncurses, it works as
>> expected (actually, *better* than expected - the Python I compiled does a
>> better job of cleaning up after itself, whereas the default Python curses
>> module leaves some garbage and random gray on the screen after exiting).
>>     
>
> Hm.  Aside from not getting the color, it works just fine for me.  If I ^C
> out of it, I get garbage, and the terminal settings are poor, but that
> latter is only to be expected.
>   
Did you experience that even when just letting the program exit (just 
hit any key)? Calling curses.endwin() is supposed to restore the 
terminal state, but it doesn't appear to work properly.
> Still, seems like a worthwhile bug to file against our Python build.
> Shouldn't be hard to fix.
>
> Thanks,
> Danek
>   

Reply via email to