branch: elpa/inf-ruby
commit 6f4e68bb1c9403252fb5f53dfd8688c339046c0a
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    Set comint-process-echoes on Windows
    
    Close #8
---
 inf-ruby.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inf-ruby.el b/inf-ruby.el
index fca91613b3..74eec5d503 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -148,6 +148,8 @@ to continue it."
   (setq comint-get-old-input (function inf-ruby-get-old-input))
   (make-local-variable 'compilation-error-regexp-alist)
   (setq compilation-error-regexp-alist inf-ruby-error-regexp-alist)
+  (when (eq system-type 'windows-nt)
+    (setq comint-process-echoes t))
   (compilation-shell-minor-mode t)
   (run-hooks 'inf-ruby-mode-hook))
 

Reply via email to