init ncurses correctly for compositing