Closed DamienCassou closed 2 years ago
What should be displayed exactly? Is it a specific magit mode (for which we could write a specific modeline)?
What should be displayed exactly?
as you can see in the screenshot above, the last line is partially hidden. We should clearly see "k Remove P Prune stale refspecs"
Is it a specific magit mode (for which we could write a specific modeline)?
magit is not to blame here. The problem is with the transient library that is used by magit to create popups. To reproduce:
(defun my/remove ()
(interactive)
(message "my/remove"))
(transient-define-prefix my/foo ()
"documentation"
["Group 1"
("k" "remove" my/remove)])
and then M-x my/foo
:
Again, the last line is invisible. With emacs -Q
, it looks like this instead:
I think I will discuss the issue in the transient project because transient--show
hides the mode-line and the tab-line but not the header-line. Hiding it as well fixes my issue.
Here is the transient issue I opened: https://github.com/magit/transient/pull/198.
My PR got merged so we can close this issue.
When using Magit, I don't see the commands on the last line: