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: Radim Roska
Subject: Re: how to make buffer for scrolling?
Date: Mon, 24 Dec 2007 11:20:07 +0100

Ok..thanks ... at least i know for sure how to do that ;)


Yeah..sure i know bash is not a terminal :)...i just haven't deleted word bash and write there terminal :). sorry for that :).

Thx
And Happy Christmas ;)

On Dec 23, 2007 11:55 PM, Thomas Dickey <address@hidden> wrote:
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]