mirror of
https://github.com/tmux/tmux.git
synced 2026-10-12 05:34:24 +00:00
Improve text about status lines, GitHub issue 5677.
This commit is contained in:
21
tmux.1
21
tmux.1
@@ -1,4 +1,4 @@
|
|||||||
.\" $OpenBSD: tmux.1,v 1.1174 2026/09/25 13:44:49 nicm Exp $
|
.\" $OpenBSD: tmux.1,v 1.1175 2026/10/06 08:01:54 nicm Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
.\"
|
.\"
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
|
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
|
||||||
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
.\"
|
.\"
|
||||||
.Dd $Mdocdate: September 25 2026 $
|
.Dd $Mdocdate: October 6 2026 $
|
||||||
.Dt TMUX 1
|
.Dt TMUX 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -4678,6 +4678,9 @@ flag unsets an option, so a session inherits the option from the global
|
|||||||
options (or with
|
options (or with
|
||||||
.Fl g ,
|
.Fl g ,
|
||||||
restores a global option to the default).
|
restores a global option to the default).
|
||||||
|
For an array option given with a key,
|
||||||
|
.Fl u
|
||||||
|
removes only that item.
|
||||||
.Fl U
|
.Fl U
|
||||||
unsets an option (like
|
unsets an option (like
|
||||||
.Fl u )
|
.Fl u )
|
||||||
@@ -5543,8 +5546,18 @@ or
|
|||||||
more rows.
|
more rows.
|
||||||
.It Ic status\-format[] Ar format
|
.It Ic status\-format[] Ar format
|
||||||
Specify the format to be used for each line of the status line.
|
Specify the format to be used for each line of the status line.
|
||||||
The default builds the top status line from the various individual status
|
The default first status line is built from the various individual status
|
||||||
options below.
|
options below, the second shows the panes in the current window and the third
|
||||||
|
the sessions.
|
||||||
|
A default line may be extended rather than replaced by saving its default value
|
||||||
|
in a user option and expanding that in the new value, for example:
|
||||||
|
.Bd -literal -offset indent
|
||||||
|
set \-g status 2
|
||||||
|
set \-gu status\-format # start with default status line
|
||||||
|
set \-gF @old_status_format1 "#{status\-format[1]}"
|
||||||
|
set \-g status\-format[1] "#{E:@old_status_format1}#[nolist align=right]#{pane_current_path}"
|
||||||
|
.Ed
|
||||||
|
.Pp
|
||||||
.It Ic status\-interval Ar interval
|
.It Ic status\-interval Ar interval
|
||||||
Update the status line every
|
Update the status line every
|
||||||
.Ar interval
|
.Ar interval
|
||||||
|
|||||||
Reference in New Issue
Block a user