An expect resulting in a timeout consumes the input that happened during the expect, but not the input already in the buffer before expect was called.
Log in to post a comment.