Method: Mysh::Console#get_command_extra
- Defined in:
- lib/mysh/sources/console.rb
#get_command_extra(str) ⇒ Object
Get additional lines of continued commands.
24 25 26 27 28 29 |
# File 'lib/mysh/sources/console.rb', line 24 def get_command_extra(str) get(prompt: MNV[:post_prompt] + '\\', prefix: str[0]) rescue MiniReadlinePLE => err retry unless handle_get_error(err, :post_prompt) exit end |