Fixed ignoring the PTY echo bug