Return the window's current background character/attribute pair.
curses/window.getbkgd
window.getbkgd