not prompting when stdin isn't a tty