ncurses

Programming, for all ages and all languages.
Post Reply
B.E

ncurses

Post by B.E »

I currently tring to make a simple program that has two windows. I can't seem to find anyway to change the location of the phycical cursor to a different new window.

How is it done?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:ncurses

Post by Pype.Clicker »

with ncurses, right ? so what you call "windows" are actually character-painted-box-on-a-terminal, right ?

maybe i'm wrong, but i'm not sure you can capture anything else than mouse clicks using ncurses, e.g. unlike a graphical program, there's no definition of "hover" or whatever ... so you can't "detect" that the cursor is now over another box until the user clicked that other box.
B.E

Re:ncurses

Post by B.E »

'm taking abut the little blinking _ cursor. But anyway this was a couple of weeks ago, so I have worked out another way of displaying what I want.
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:ncurses

Post by df »

setcursor() works fine for me...
-- Stu --
Post Reply