curses mouse-events in linux console

Michael Hudson mwh at python.net
Mon Apr 22 08:44:14 EDT 2002


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.

Cheers,
M.

-- 
  > Emacs is a fashion statement.
  No, Gnus is a fashion statement.  Emacs is clothing.  Everyone 
  else is running around naked.
        -- Karl Kleinpaste & Jonadab the Unsightly One, gnu.emacs.gnus



More information about the Python-list mailing list