Improve color handling in ncurses::Window