n_tty: Fix EOF push handling