Auto enter inf-ruby from compilation mode when it hits a breakpoint

This commit is contained in:
Jeremy Dormitzer 2024-11-14 13:58:45 -05:00
parent 245a3b0d3b
commit e56343867b

View File

@ -18,7 +18,8 @@
:commands (inf-ruby inf-ruby-console-auto)
:general
([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
(defun inf-ruby-process-carriage-return (output)
(let ((processed (replace-regexp-in-string ".*\r" "" output)))