summaryrefslogtreecommitdiff
path: root/pexpect/_async.py
diff options
context:
space:
mode:
Diffstat (limited to 'pexpect/_async.py')
-rw-r--r--pexpect/_async.py1
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