Variable: transient-mode-line-format
transient-mode-line-format is a customizable variable defined in
transient.el.
Value
line
Documentation
The mode-line format for transient's menu buffer.
If nil, then the buffer has no mode-line. If the buffer is not displayed right above the echo area, then this probably is not a good value.
If line (the default) or a natural number, then the buffer has no
mode-line, but a line is drawn in its place. If a number is used,
that specifies the thickness of the line. On termcap frames we
cannot draw lines, so there line and numbers are synonyms for nil.
The color of the line is used to indicate if non-suffixes are
allowed and whether they exit the transient. The foreground
color of transient-key-noop (if non-suffixes are disallowed),
transient-key-stay (if allowed and transient stays active), or
transient-key-exit (if allowed and they exit the transient) is
used to draw the line.
Otherwise this can be any mode-line format.
See mode-line-format for details.
This variable was added, or its default value changed, in transient version 0.2.0.
Source Code
;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defcustom transient-mode-line-format 'line
"The mode-line format for transient's menu buffer.
If nil, then the buffer has no mode-line. If the buffer is not
displayed right above the echo area, then this probably is not
a good value.
If `line' (the default) or a natural number, then the buffer has no
mode-line, but a line is drawn in its place. If a number is used,
that specifies the thickness of the line. On termcap frames we
cannot draw lines, so there `line' and numbers are synonyms for nil.
The color of the line is used to indicate if non-suffixes are
allowed and whether they exit the transient. The foreground
color of `transient-key-noop' (if non-suffixes are disallowed),
`transient-key-stay' (if allowed and transient stays active), or
`transient-key-exit' (if allowed and they exit the transient) is
used to draw the line.
Otherwise this can be any mode-line format.
See `mode-line-format' for details."
:package-version '(transient . "0.2.0")
:group 'transient
:type '(choice (const :tag "Hide mode-line" nil)
(const :tag "Substitute thin line" line)
(number :tag "Substitute line with thickness")
(const :tag "Name of prefix command"
("%e" mode-line-front-space
mode-line-buffer-identification))
(sexp :tag "Custom mode-line format")))