[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Visual Clues That The Application Is Mouse Enabled
From: |
Thomas Dickey |
Subject: |
Re: Visual Clues That The Application Is Mouse Enabled |
Date: |
Sun, 13 May 2018 10:43:28 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sun, May 13, 2018 at 08:47:06AM -0400, Patrick wrote:
> Hi Everyone
>
> If you have tried GPM, as the mouse is moved around the screen the
> foreground and background colours are inverted where the mouse is
> currently placed.
>
> I am wondering if it is possible to do this with X or worse yet, with
You could write an application using one of the terminal descriptions
(xterm-1002 for instance) that enable xterm's any-event mode, and
paint the cursor.
Doing that increases I/O significantly - not something you'd want to
do remotely. GPM of course is on the local machine...
> ncurses on Windows ? Does mouse support even work in Windows?
mouse support works with the mingw port (console windows) as well as cygwin.
> I hate Win-dohs-s but I think I will have to deploy on it.
>
> Is there some other way that you know of that would tell the user that
> the application has mouse support without them having to read
> application documentation?
That's up to the application (developer). The library makes it possible:
The has_mouse function returns TRUE if the mouse driver has been suc‐
cessfully initialized.
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature