summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-12 11:08:03 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-12 11:08:03 +0000
commit59772a51485c8180b3098529e6e390f30d630668 (patch)
tree1936d945aaa3973bdd2192140e8d7456b7197144 /usr.bin/tmux/tmux.1
parent47aa515d242cd8d73cdf101da85bd8dc52deb3f8 (diff)
Permit attributes to be turned off in #[] by prefixing with "no", for example
"noblink".
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.116
1 files changed, 10 insertions, 6 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 3ac8e19f5de..cb27a8b1288 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.108 2009/10/11 14:12:10 jmc Exp $
+.\" $OpenBSD: tmux.1,v 1.109 2009/10/12 11:08:02 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 11 2009 $
+.Dd $Mdocdate: October 12 2009 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -1470,22 +1470,26 @@ the
.Ic status-interval
option: if the status line is redrawn in the meantime, the previous result is
used.
+.Pp
#[attributes] allows a comma-separated list of attributes to be specified,
these may be
.Ql fg=colour
to set the foreground colour,
.Ql bg=colour
-to set the background colour, or one of the attributes described under the
+to set the background colour, the name of one of the attributes (listed under the
.Ic message-attr
-option.
+option) to turn an attribute on, or an attribute prefixed with
+.Ql no
+to turn one off, for example
+.Ic nobright .
Examples are:
.Bd -literal -offset indent
#(sysctl vm.loadavg)
#[fg=yellow,bold]#(apm -l)%%#[default] [#S]
.Ed
.Pp
-Where appropriate, these may be prefixed with a number to specify the maximum
-length, for example
+Where appropriate, special character sequences may be prefixed with a number to
+specify the maximum length, for example
.Ql #24T .
.Pp
By default, UTF-8 in