Auto enter inf-ruby from compilation mode when it hits a breakpoint
This commit is contained in:
parent
245a3b0d3b
commit
e56343867b
@ -18,7 +18,8 @@
|
|||||||
:commands (inf-ruby inf-ruby-console-auto)
|
:commands (inf-ruby inf-ruby-console-auto)
|
||||||
:general
|
:general
|
||||||
([remap inf-ruby] #'inf-ruby-console-auto)
|
([remap inf-ruby] #'inf-ruby-console-auto)
|
||||||
:hook (after-init . inf-ruby-switch-setup)
|
:hook ((after-init . inf-ruby-switch-setup)
|
||||||
|
(compilation-filter . inf-ruby-auto-enter-and-focus))
|
||||||
:config
|
:config
|
||||||
(defun inf-ruby-process-carriage-return (output)
|
(defun inf-ruby-process-carriage-return (output)
|
||||||
(let ((processed (replace-regexp-in-string ".*\r" "" output)))
|
(let ((processed (replace-regexp-in-string ".*\r" "" output)))
|
||||||
|
Loading…
Reference in New Issue
Block a user