From 0be747cccba78c50bbb94d0aa3b45866b74978a2 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Sat, 15 Dec 2012 14:52:56 -0800 Subject: [PATCH] Reset @suppress_output each time through the loop --- lib/pry/pry_instance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/pry_instance.rb b/lib/pry/pry_instance.rb index 3bf6136a..7be6d514 100644 --- a/lib/pry/pry_instance.rb +++ b/lib/pry/pry_instance.rb @@ -274,10 +274,10 @@ class Pry def r(target=TOPLEVEL_BINDING) target = Pry.binding_for(target) eval_string = "" - @suppress_output = false loop do throw(:breakout) if binding_stack.empty? + @suppress_output = false inject_sticky_locals(target) case val = retrieve_line(eval_string, target)