Add a -a flag to set-option and set-window-option to append to an existing

string value, useful for terminal-overrides.
This commit is contained in:
Nicholas Marriott
2009-08-04 18:45:57 +00:00
parent a0647f1616
commit 12ef3ceda1
5 changed files with 35 additions and 16 deletions

10
tmux.1
View File

@@ -1021,12 +1021,17 @@ command.
Commands which set options are as follows:
.Bl -tag -width Ds
.It Xo Ic set-option
.Op Fl gu
.Op Fl agu
.Op Fl t Ar target-session
.Ar option Ar value
.Xc
.D1 (alias: Ic set )
Set a session option.
With
.Fl a ,
and if the option expects a string,
.Ar value
is appended to the existing setting.
If
.Fl g
is specified, the global session option is set.
@@ -1310,13 +1315,14 @@ for which the
window option is enabled.
.El
.It Xo Ic set-window-option
.Op Fl gu
.Op Fl agu
.Op Fl t Ar target-window
.Ar option Ar value
.Xc
.D1 (alias: Ic setw )
Set a window option.
The
.Fl a ,
.Fl g
and
.Fl u