curses mouse-events in linux console

janne halttunen jhalttun at pp.htv.fi
Tue Apr 23 10:26:07 EDT 2002


Michael Hudson wrote:
> janne halttunen <jhalttun at pp.htv.fi> writes:
> 
> 
>>Michael Hudson wrote:
>>
>>>janne halttunen <jhalttun at pp.htv.fi> writes:
>>>
>>>
>>>>I'm on Mandrake Linux 8.2 with Python 2.2, and I have a problem of
>>>>mouse-events not emitting properly in curses when on console with
>>>>gpm. In X it works fine, the getch-method returning instantly on
>>>>mouse-clicks, but on console it doesn't return until after pressing
>>>>key on the keyboard.
>>>
>>>Umm, does any curses application respond to the mouse on the console?
>>>I thought it was an xterm-and-derivatives only thing, but I could well
>>>be wrong.
>>
>>Well, it was working in python 2.0 or 2.1 with previous Mandrake
>>Linuxes 8.1 or 8.0..  And it's working now, except for the triggering
>>of the event.
> 
> 
> Oh.  Can't really help you I'm afraid...

Mm, I guess most console-people really prefer keyboard over mouse 
anyway. :)

It would be nice to have as an option, though.

janne




More information about the Python-list mailing list