summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-06-14 08:26:06 +0900
committeraycabta <aycabta@gmail.com>2019-06-14 08:26:06 +0900
commitf80771f0a989efdde2276d4d6d213cb096843e92 (patch)
treebf929fc702b512cc48aa9bd168f45433d8b090c9 /lib/irb.rb
parent3757e492fb815656341dd430465e0f069e1bd562 (diff)
Use Reline.prompt_proc in IRB
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index 1badb9b..1bab317 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -469,6 +469,7 @@ module IRB
@context.io.prompt = p + " " * ind if ind > 0
end
end
+ @context.io.prompt
end
@scanner.set_input(@context.io) do