Smurf64
Smurf64

Reputation: 337

Set background color of entire window in PDCurses

wattron and a color pair only sets the background color of text when it is printed inside a window. What is the best way to set the background color of the entire window without filling it with spaces (i.e. a title or status bar)?

Upvotes: 1

Views: 679

Answers (1)

Smurf64
Smurf64

Reputation: 337

A call to wbkgd with a pointer to a WINDOW object and a color pair sets the background color of the window.

Upvotes: 1

Related Questions