bug-ncurses
[Top][All Lists]
Advanced

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

Re: setting background color?


From: Thomas Dickey
Subject: Re: setting background color?
Date: Wed, 25 Apr 2007 17:46:33 -0400 (EDT)

On Wed, 25 Apr 2007, Folkert van Heusden wrote:

Is it possible to set the background color without putting spaces on
everything?
I'm not sure I understand the question.  But here's one way to interpret
the question:  when setting the background color, you're seeing a repaint
send a lot of space-characters.  That's determined by whether the terminal
is known to support bce (back color erase) or not.

Ok what I would like is:
- create window
- set a background color
- do the usual stuff of printing texts, scrolling up and down
and then even when scrolling and such I would like to have new lines
automatically have the same background color

test/view.c (with a "-c" option) does scrolling with a background color.

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




reply via email to

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