Fill an ncurses window with a color

Viewed 27749

I only have a basic knowledge of ncurses, and I was unable to find an answer to this question in the man pages.

When you set the foreground and background color for a window, is there a way to fill the whole window with the background color?

2 Answers

You can also use wbkgd(stdscr, COLOR_PAIR(1)) to change the main window color.

Related