EXWM/Miniframe: Windows not restored after preview (original) (raw)
When consult is used in conjunction with selectrum and mini-frame, the window configuration is not restored after previewing then aborting.
For example,
- Enable
mini-frame-mode
,selectrum-mode
. - Run
consult-buffer
, then preview a different buffer. - Hit
C-g
to quit.
Expectation: I expected the buffer I was editing before running consult-buffer
to be selected and focused.
Reality: The last previewed buffer remains selected and focused, nothing is restored.
Wrapping the command in save-window-excursion
as in #177 appears to fix the issue, but I'm unsure why this is only an issue with mini-frame-mode
and not an issue otherwise.