bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: input w/real-time output question


From: Thomas Dickey
Subject: Re: input w/real-time output question
Date: Sat, 9 Sep 2006 19:09:45 -0400 (EDT)

On Sat, 9 Sep 2006, Michael Williamson wrote:

Hi,

I have a question about curses. Using ncurses,
I am trying to write a simple program that reads
'\n' terminated input from the keyboard in one window
while  simultaneously showing scrolling real-time
information in another window. What is the easiest
way to do this?
Do I have to use getch() and nodelay() and
keep track of the cursor position myself, for input?

Probably

Because I don't find any function that returns the
current position of the cursor in a window.

But getyx() and getcuryx() return the position...

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]