summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-07-15 10:26:50 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-07-15 10:29:48 +0900
commitb78964883037470f25755db740c09e835eadb5c9 (patch)
treeddd465922fbd7b16bef59f63a2b588ae9a5fb698 /lib
parentf6f09cbc76c3e47aec23898e024ff5bb5f061bc4 (diff)
Change PROMPT_S of simple-prompt
When input `"` or `/` with simple-prompt, Before: `"` or `/` (prompt disappeared and indent is changed) After: `"> "` or `/> /` (indent is unchanged since `>> `)
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/init.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb
index 8a9215f5f9..d7ee885665 100644
--- a/lib/irb/init.rb
+++ b/lib/irb/init.rb
@@ -83,7 +83,7 @@ module IRB # :nodoc:
:SIMPLE => {
:PROMPT_I => ">> ",
:PROMPT_N => ">> ",
- :PROMPT_S => nil,
+ :PROMPT_S => "%l> ",
:PROMPT_C => "?> ",
:RETURN => "=> %s\n"
},