Function ncursesw::bkgd[][src]

pub fn bkgd(ch: ChtypeChar) -> Result<(), NCurseswError>
Expand description

Set the background property on the standard screen and then apply this setting to every character position.

Example

extern crate ncursesw;

use ncursesw::*;
use shims::ncurses::ACS_CKBOARD;

bkgd(ChtypeChar::from_chtype(ACS_CKBOARD()))?;