[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    =?utf-8?q?Re=3A?==?utf-8?q?_xterm=3A?= set mouse pointer type for ncurses
From:       "Ralf Mattes" <rm () mh-freiburg ! de>
Date:       2017-05-22 7:29:33
Message-ID: be8-59229380-81f-6cc92480 () 219472824
[Download RAW message or body]

 
Am Montag, 22. Mai 2017 03:07 CEST, Thomas Dickey <dickey@his.com> schrieb: 
 
> On Mon, May 22, 2017 at 12:01:43AM +0200, Tobias Girstmair wrote:
> > Hi, I'm new here.
> > 
> > I am trying to build a curses based program, and I'd like to know if
> > there is an option to change the mouse cursor type.
> > 
> > The default is the text selection cursor, but I need to use the
> > 'normal' pointer style, if that makes sense to any of you.
> > 
> > Is there a control sequence (or at least a command line parameter)
> > for this available?
> 
> man curs_set

But this sets the _cursor_. The OP asked about the _mouse pointer_. IIRC ncurses
doesn't deal with the X layer, it only operates at the terminal (emulation) layer.

 Cheers, Ralf Mattes

>        The  curs_set  routine  sets  the cursor state to invisible, normal, or
>        very visible for visibility equal to 0, 1, or 2 respectively.   If  the
>        terminal  supports  the visibility requested, the previous cursor state
>        is returned; otherwise, ERR is returned.
> 
> -- 
> Thomas E. Dickey <dickey@invisible-island.net>
> http://invisible-island.net
> ftp://invisible-island.net
 
 
 
 


_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic