emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby 67629312ad 120/265: Work around pry/pry#1267


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 67629312ad 120/265: Work around pry/pry#1267
Date: Sat, 9 Jul 2022 21:59:19 -0400 (EDT)

branch: elpa/inf-ruby
commit 67629312ad25e13265ccf1b6231c847ed3b19e98
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Work around pry/pry#1267
    
    Fixes dgutov/robe#37
---
 inf-ruby.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/inf-ruby.el b/inf-ruby.el
index e6b55be48c..f93a196dd7 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -229,6 +229,9 @@ The following commands are available:
   (when (eq system-type 'windows-nt)
     (setq comint-process-echoes t))
   (compilation-shell-minor-mode t)
+  ;; Workaround for pry 0.10.0
+  ;; https://github.com/pry/pry/issues/1267
+  (set-process-window-size (get-buffer-process (current-buffer)) 1 1)
   (run-hooks 'inf-ruby-mode-hook))
 
 (defun inf-ruby-output-filter (output)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]