Linux curses fix