diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-06-03 16:54:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-06-03 16:54:26 +0000 |
commit | 6521427a451b4044b9bf035d54c594cb1453ba48 (patch) | |
tree | d29c21afa0abf27125edffe09df48653b55d9ccf /tmux.1 | |
parent | 7d45e29683119b31179295b3712142ebf8897a0d (diff) | |
download | rtmux-6521427a451b4044b9bf035d54c594cb1453ba48.tar.gz rtmux-6521427a451b4044b9bf035d54c594cb1453ba48.tar.bz2 rtmux-6521427a451b4044b9bf035d54c594cb1453ba48.zip |
New session option, status-utf8, to control the interpretation of top-bit-set
characters in status-left and status-right (if on, they are treated as UTF-8;
otherwise passed through).
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -1133,6 +1133,12 @@ may contain any of the following special character pairs: Where appropriate, these may be prefixed with a number to specify the maximum length, for example .Ql #24T . +.Pp +By default, UTF-8 in +.Ar string +is not interpreted, to enable UTF-8, use the +.Ic status-utf8 +option. .It Ic status-left-length Ar length Set the maximum .Ar length @@ -1147,13 +1153,27 @@ As with .Ic status-left , .Ar string will be passed to -.Xr strftime 3 -and character pairs are replaced. +.Xr strftime 3 , +character pairs are replaced, and UTF-8 is dependent on the +.Ic status-utf8 +option. .It Ic status-right-length Ar length Set the maximum .Ar length of the right component of the status bar. The default is 40. +.Pp +.It Xo Ic status-utf8 +.Op Ic on | Ic off +.Xc +Instruct +.Nm +to treat top-bit-set characters in the +.Ic status-left +and +.Ic status-right +strings as UTF-8; notably, this is important for wide characters. +This option defaults to off. .El .It Xo Ic set-password .Op Fl c |