Fixed a fault regarding the handling of black on white text under curses.