<<< Date Index >>>     <<< Thread Index >>>

Re: bce and clrtoeol()



On Fri, Jul 10, 2009 at 11:38:51AM +0200, Rocco Rutte wrote:
> * Kyle Wheeler wrote:
> > I read the man page on clrtoeol(), and on my system, it says that it
> > fills in the background with the color set by wbkgdset() (rather than
> > simply the color set by bkgdset(), as mutt uses). Are bkgdset and
> > wbkgdset supposed to be interchangeable?
> 
> The latter works on any window, the former only on 'stdscr'. Thus:
> 
>     bkgdset(...) == wbkgdset(stdscr, ...)

Typically, the [^w]foo functions are implemented as macros that wrap
the equivalent wfoo(stdscr, ...) function.  So implementation-wise,
the code is usually essentially identical.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

Attachment: pgp_Md7umfBcT.pgp
Description: PGP signature