1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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 `>> `)
This commit is contained in:
Kazuhiro NISHIYAMA 2019-07-15 10:26:50 +09:00
parent f6f09cbc76
commit b789648830
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -83,7 +83,7 @@ module IRB # :nodoc:
:SIMPLE => {
:PROMPT_I => ">> ",
:PROMPT_N => ">> ",
:PROMPT_S => nil,
:PROMPT_S => "%l> ",
:PROMPT_C => "?> ",
:RETURN => "=> %s\n"
},