Can create multiple vterms once again

This commit is contained in:
Wojciech Kozlowski 2021-08-23 19:18:41 +02:00
parent 231538ac9e
commit 86a951effa

View File

@ -146,7 +146,7 @@
(interactive) (interactive)
(if (string= "vterm-mode" major-mode) (if (string= "vterm-mode" major-mode)
(if (term-check-proc (buffer-name)) (if (term-check-proc (buffer-name))
(vterm-other-window) (vterm-other-window t)
(x-vterm-recycle)) (x-vterm-recycle))
(let ((anon-term (seq-find (lambda (buffer) (let ((anon-term (seq-find (lambda (buffer)
(with-current-buffer buffer (with-current-buffer buffer