pexpect/pexpect — pull request #80 by jquast (2014-06-29 04:44:49+00:00)
Title: Resolve return value and timeout for multi-command and continuation prompts in replwrap

* for multiple commands, such as in
``'\n'.join((cmd, cmd2))``, cmd2 and beyond
previously used a ``timeout`` of 1, instead of
the specified or default ``timeout``.
* furthermore, the output of multi-command output
was discarded, only the last-most command output
was received. Resolved by joining the result of
``self.child.before``.