Please sign in to comment.
now using 'retry' (in read loop) to switch input objects in input_stack
This is so we can make the switch to the new input object seemless on encountering EOFError in previous input object. We also detect whether we are going to go into an infinite EOFError state (i.e if Pry.config.input generates EOFError) and so we break out of the REPL with an error message and a throw(:breakout)
- Loading branch information...
Showing with 65 additions and 12 deletions.