Fix eval handling when using pty.