tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

message-format

Set the format string for the prompt and message area.

Scope
session
Type
Text
Default
#[#{?#{command_prompt},#{E:message-command-style},#{E:message-style}}]#{message}
Set
set-option message-format value
Read
show-options message-format

Description#

Set the format string for the prompt and message area. The special placeholder ‘#{message}’ expands to the interactive prompt or message text and ‘#{command_prompt}’ is set to 1 when the prompt is in command mode (vi). Style directives like fill, align, and width may be used in the format string. The default uses a conditional to select between message-style and message-command-style.

Releases#

  • tmux 3.7c : present
  • tmux 3.2a : not present

Source#

Defined in
options-table.c:736
C source reference
options_table
CLI Manual
Original manual entry

Used by#

Library documentation that names this option.

Rust
options.generated.MESSAGE_FORMAT
Go
tmux.GlobalSessionScope.SetMessageFormat, tmux.Session.SetMessageFormat, tmux.SessionOptionValues.MessageFormat
Esc

Type to search.

Reference preview Open reference