execute stty sane before initializing ncurses