tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

message-style

Set status line message style.

Scope
session
Type
Text, style
Default
bg=yellow,fg=black,fill=yellow
Separator
,
Set
set-option message-style value
Read
show-options message-style

Description#

Set status line message style. This is used for messages and for the command prompt. The message is drawn on top of the existing status line. A width attribute (a fixed number of columns or a percentage such as ‘50%’) constrains the prompt area width and an align attribute (left, centre, right) sets its horizontal position. When the width is less than the full terminal width, the normal status bar content remains visible around the prompt area. The fill attribute is used by the default message-format to clear the background. For how to specify style, see the STYLES section.

Releases#

  • tmux 3.7c : default bg=yellow,fg=black to bg=yellow,fg=black,fill=yellow
  • tmux 3.2a : present

Source#

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

Used by#

Library documentation that names this option.

Rust
options.generated.MESSAGE_STYLE
Go
tmux.GlobalSessionScope.SetMessageStyle, tmux.Session.SetMessageStyle, tmux.SessionOptionValues.MessageStyle
Esc

Type to search.

Reference preview Open reference