Remove unused function for when compiled without curses