Buffers with vterm (https://github.com/akermu/emacs-libvterm) will not show the selecting character unless they are in vterm-copy-mode. (An easy solution is to set the vterm-copy-mode minor mode to all vterm buffers right before invoking ace-window and change the vterm mode back right after it; see below).
This is not a major problem as it has a simple solution, so I am just reporting the issue, and closing it, in case someone else stumbles upon it.
Note this does not happen if we use posframe (see #204 or #192).
Instead of calling ace-window I call ace-window-vt as shown below
(defun ace-window-vt (arg)
"ace-window setting all vterm to vterm-copy-mode."
(interactive "p")
(all-vterm-copy-mode)
(ace-window arg)
(no-vterm-copy-mode)
)
(defun all-vterm-copy-mode ()
"Set minor mode of all vterm buffers to vterm-copy-mode."
(interactive)
(mapc (lambda (buffer)
(condition-case nil
(with-current-buffer buffer
(if (equal major-mode 'vterm-mode)
(vterm-copy-mode 1)
)
)
(buffer-read-only nil)))
(buffer-list)))
(defun no-vterm-copy-mode ()
"Disable copy mode from all vterm buffers."
(interactive)
(mapc (lambda (buffer)
(condition-case nil
(with-current-buffer buffer
(if (equal major-mode 'vterm-mode)
(vterm-copy-mode -1)
)
)
(buffer-read-only nil)))
(buffer-list)))
Buffers with vterm (https://github.com/akermu/emacs-libvterm) will not show the selecting character unless they are in
vterm-copy-mode. (An easy solution is to set thevterm-copy-modeminor mode to all vterm buffers right before invokingace-windowand change the vterm mode back right after it; see below).This is not a major problem as it has a simple solution, so I am just reporting the issue, and closing it, in case someone else stumbles upon it.
Note this does not happen if we use posframe (see #204 or #192).
Instead of calling
ace-windowI callace-window-vtas shown below