[Top][All Lists]

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

Re: Problem with scroll in curses

From: Thomas Dickey
Subject: Re: Problem with scroll in curses
Date: Sat, 24 Apr 2004 08:30:15 -0400 (EDT)

On Sat, 24 Apr 2004, shivangi desai wrote:

> Hi
> I am facing a very peculiar problem with curses library and am hoping that
> you will be able to shed some light on it.
> I am using scroll command of curses to scroll up on line when i reach end of
> the screen.. but when i do so the line which has scrolled off the screen
> gets deleted !!!!
> How can i prevent this from happening?? I want to see the scrolled data
> using the scroll bars.. how can i get this to work?

There aren't any scroll bars built into curses.  There is an example using
pads in test/ncurses.c which does something like what you are requesting.

Thomas E. Dickey

reply via email to

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