diff options
Diffstat (limited to 'pexpect')
-rw-r--r-- | pexpect/_async.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pexpect/_async.py b/pexpect/_async.py index 1ecbe81..dfbfeef 100644 --- a/pexpect/_async.py +++ b/pexpect/_async.py @@ -71,6 +71,7 @@ class PatternWaiter(asyncio.Protocol): spawn._log(s, 'read') if self.fut.done(): + spawn._before.write(s) spawn._buffer.write(s) return |