bug-ncurses
[Top][All Lists]
Advanced

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

Re: Ncurses : scrollback functionality


From: Thomas Dickey
Subject: Re: Ncurses : scrollback functionality
Date: Thu, 22 Jul 2010 19:02:06 -0400 (EDT)

On Thu, 22 Jul 2010, azzareld wrote:


I have not a greate experience in developing under Linux. I'm developing an
application wich writes by ncurses a menu on a terminal giving to an user
the possibility to make a choiche. I enabled the scrolling and effectivly
when the printing (made by printw) reaches the end of the window
automatically it scrolls. Then I tried to see the part of text not more
visible on the window executing a scroll manually by scrl (-1) but I see
only white rows as if there weren't a scrollback functionality. is it a my
error or it isn't supported. Any suggest for me? Please it is important for
me and any help will be very aprecied. I thank you in advantage.

There are basically two approaches:

a) make the application store the data which is scrolled out of sight,
   and restore it when scrolling into view, or

b) store the data in a "pad", which is like a window, that can be much
   larger than the terminal.  Manage that by changing the viewport.

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



reply via email to

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