Closed tarsius closed 1 year ago
Might this close https://github.com/yanghaoxie/which-key-posframe/issues/10?
It should address the symptoms of that (but I don't really understand how the use of a different font lead to that issue).
On a related note, I've just opened https://github.com/justbur/emacs-which-key/pull/343, which fixes various miscalculations, and those might be the cause of, or at least contribute to, your issue.
I've added another commit, fixing yet another off-by-one error (in addition to those in which-key
).
Sweet 🚀
but I don't really understand how the use of a different font lead to that issue
Yeah, not sure if you saw the second comment there, but the font bit may be a red herring:
UPDATE: This keeps coming back. Changing the font usually (but not always) fixes the issue for a bit, but not forever. So really I have no idea what's going on.
I tweaked the title to reflect that.
Thanks for all the great work!
Lines are set to be truncated in
which-key--init-buffer
but becauseposframe-show
always setstruncate-lines
based on its:lines-truncate
argument, even when that is unspecified (in which case it defaults tonil
), we have to double down on this.