summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-04-28 06:37:39 +0900
committeraycabta <aycabta@gmail.com>2019-05-25 02:16:19 +0900
commit260235ce871c3e7718af8d612f1a8ed400b56070 (patch)
tree4852bd597db06acd5c95f76d4e315f66f007884d /lib/irb.rb
parentff43b2262702e828e2008ba65e68b331d263e3d0 (diff)
Use Reline as Reidline multiline editor in IRB
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index 773d0d0..1badb9b 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -60,6 +60,8 @@ require "irb/version"
# -W[level=2] Same as `ruby -W`
# --inspect Use `inspect' for output (default except for bc mode)
# --noinspect Don't use inspect for output
+# --reidline Use Reidline extension module
+# --noreidline Don't use Reidline extension module
# --readline Use Readline extension module
# --noreadline Don't use Readline extension module
# --colorize Use colorization
@@ -69,7 +71,7 @@ require "irb/version"
# Switch prompt mode. Pre-defined prompt modes are
# `default', `simple', `xmp' and `inf-ruby'
# --inf-ruby-mode Use prompt appropriate for inf-ruby-mode on emacs.
-# Suppresses --readline.
+# Suppresses --reidline and --readline.
# --simple-prompt Simple prompt mode
# --noprompt No prompt mode
# --tracer Display trace for each execution of commands.
@@ -97,6 +99,7 @@ require "irb/version"
# IRB.conf[:IRB_RC] = nil
# IRB.conf[:BACK_TRACE_LIMIT]=16
# IRB.conf[:USE_LOADER] = false
+# IRB.conf[:USE_REIDLINE] = nil
# IRB.conf[:USE_READLINE] = nil
# IRB.conf[:USE_COLORIZE] = true
# IRB.conf[:USE_TRACER] = false
@@ -412,7 +415,6 @@ module IRB
@context = Context.new(self, workspace, input_method, output_method)
@context.main.extend ExtendCommandBundle
@signal_status = :IN_IRB
-
@scanner = RubyLex.new
end