* lisp/ob-ruby.el (org-babel-ruby-initiate-session): Fix multiline

Without a newline at the end, repl sometimes does not interpret the
prompt settings correctly.
This commit is contained in:
Ihor Radchenko 2023-08-31 12:46:21 +03:00
parent 83411c0d3e
commit db679cff98
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ then create one. Return the initialized session."
(setq-local comint-prompt-regexp (concat "^" org-babel-ruby-prompt))
(insert org-babel-ruby-define-prompt ";")
(insert "_org_prompt_mode=conf.prompt_mode;conf.prompt_mode=:CUSTOM;")
(insert "conf.echo=false")
(insert "conf.echo=false\n")
(comint-send-input nil t)))
session-buffer)
(sit-for .5)