cleaner ncurses console output