bug-ncurses
[Top][All Lists]
Advanced

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

Re: how to make buffer for scrolling?


From: Thomas Dickey
Subject: Re: how to make buffer for scrolling?
Date: Sun, 23 Dec 2007 17:55:28 -0500 (EST)

On Sun, 23 Dec 2007, Radim Roska wrote:

Hi,

i've got a window where messages etc are displayed...some messages are
displayed using different colors. So this has to be same after scrolling.

I was thinking about some structure that would save last x displayed strings
and after scroll this lines would be displayed by recalling functions that
displayed them first time. But that would mean i would have to create
objects that will contain parsed strings which i'll display in proper way. I
dont like this idea very much..:/

That sounds like what you'd have to do, though.

How to do what bash terminal does? :) Form can do scrolling but without

bash isn't a terminal - it uses whatever terminal it happens to be running
in, such as xterm.

colors. Am i missing some important ncurses feature?

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




reply via email to

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