restricted goncurses object to drawing functions