Only resize TTY if Stdin attached