fix(hint.statusline): Restore correct window if it changed#17
fix(hint.statusline): Restore correct window if it changed#17Frederick888 wants to merge 1 commit intonvimtools:mainfrom
Conversation
When the Hydra takes the user to a different window, we need to restore the status line of the old window where the hint is shown.
|
Going to add that this only affects @Frederick888 there's a similar issue when you activate a hydra and then create a new window. The new window will also have the hydra hint in the statusline, and this new window never gets updated With this change it cannot get updated even if you exit the hydra in the window. here's an example. I activate the hydra, create a new window, and then deactivate the hydra. it (correctly) removes the hint from the original status line, but then the hint is totally stuck in the split window's status line. hydra.issue.mp4 |
|
I'd suggest making the hydra hint move along with the user as they move windows with an active hydra. This would take a little more work than what the current PR is doing though. |
Ah yeah... I didn't think about that. And btw with
It'd be great if you can help 🙏 |
|
Personally I use I do want to support custom status line hints (currently it's only auto generated), so maybe I can take a look at this after that, but right now it's not the biggest priority for me. |
When the Hydra takes the user to a different window, we need to restore
the status line of the old window where the hint is shown.
Thanks for the fork! I'm copying my PRs over.
This was anuvyklack/hydra.nvim#74