curses mouse-events in linux console

janne halttunen jhalttun at pp.htv.fi
Tue Apr 23 07:14:12 EDT 2002


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.

janne




More information about the Python-list mailing list