emacs-libvterm
emacs-libvterm copied to clipboard
vterm breaks which-key's minibuffer functionality
Load emacs with a configuration file like:
(setq package-archives
`(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(use-package which-key
:config
(which-key-setup-minibuffer)
(which-key-mode t))
(use-package vterm
:config
(setq vterm-always-compile-module t)
(setq vterm-kill-buffer-on-exit t))
which-key
works fine until a vterm
buffer is loaded.
When a vterm
buffer is created which-key
only shows its output for a moment before it vanishes.
which-key
works fine if configured to use a side window
The video below shows the issue more clearly: https://imgur.com/a/O15esnH
Version Info: emacs 27.1.50 which-key 20200908.2301 vterm 20201130.1521
Thanks, @afine. I think that this is due to the fact that vterm resets the point every time there's a change in the window size. This leads to a series of other bugs, so it is a priority to fix it (however, I've been very busy so I couldn't get the chance to look at this in depth yet).