Function ncursesw::bkgd

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

Set the background property of the window to the character ch. The change is then applied to every character position in that window:

  • The attribute of every character in the window is changed to the new background attribute.
  • Wherever the former background character appears, it is changed to the new background character.