-
-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
Description
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-gto 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.