FIX: we cannot prompt for user input if we have no tty