Remove the `tty` logic left from 0d6ff2e.