Permalink
Browse files

Made IRBController#prompts= immediately change the prompt if IRB is r…

…unning
  • Loading branch information...
stcrocco committed Oct 16, 2011
1 parent dc5c147 commit 55c77b42cf017483fe9f5a14757872d81a385938
Showing with 1 addition and 0 deletions.
  1. +1 −0 plugins/irb/irb_controller.rb
@@ -285,6 +285,7 @@ def send_signal signal
def prompts= prompts
id = Array.new(5){rand(10)}.join ''
@prompt = PromptMatcher.new id, prompts
+ change_irb_prompt if running?
end
# Starts IRB

0 comments on commit 55c77b4

Please sign in to comment.