mirror of
https://github.com/tmux/tmux.git
synced 2024-11-04 18:08:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
fd8652ceda
7
tmux.1
7
tmux.1
@ -2596,8 +2596,7 @@ spreads the current pane and any panes next to it out evenly.
|
|||||||
.D1 (alias: Ic selectp )
|
.D1 (alias: Ic selectp )
|
||||||
Make pane
|
Make pane
|
||||||
.Ar target-pane
|
.Ar target-pane
|
||||||
the active pane in window
|
the active pane in its window.
|
||||||
.Ar target-window .
|
|
||||||
If one of
|
If one of
|
||||||
.Fl D ,
|
.Fl D ,
|
||||||
.Fl L ,
|
.Fl L ,
|
||||||
@ -3057,8 +3056,8 @@ User options may have any name, so long as they are prefixed with
|
|||||||
and be set to any string.
|
and be set to any string.
|
||||||
For example:
|
For example:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ tmux setw -q @foo "abc123"
|
$ tmux set -wq @foo "abc123"
|
||||||
$ tmux showw -v @foo
|
$ tmux show -wv @foo
|
||||||
abc123
|
abc123
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
10
utf8.c
10
utf8.c
@ -135,12 +135,16 @@ utf8_from_data(const struct utf8_data *ud, utf8_char *uc)
|
|||||||
u_int offset;
|
u_int offset;
|
||||||
|
|
||||||
if (ud->width != 1 && ud->width != 2)
|
if (ud->width != 1 && ud->width != 2)
|
||||||
return (utf8_space1.uc);
|
fatalx("invalid UTF-8 width");
|
||||||
|
if (ud->size == 0)
|
||||||
|
fatalx("invalid UTF-8 size");
|
||||||
|
|
||||||
if (ud->size > UTF8_FLAG_SIZE)
|
if (ud->size > UTF8_FLAG_SIZE)
|
||||||
goto fail;
|
goto fail;
|
||||||
if (ud->size == 1)
|
if (ud->size == 1) {
|
||||||
return (utf8_build_one(ud->data[0], 1));
|
*uc = utf8_build_one(ud->data[0], 1);
|
||||||
|
return (UTF8_DONE);
|
||||||
|
}
|
||||||
|
|
||||||
m.flags = ud->size;
|
m.flags = ud->size;
|
||||||
if (ud->width == 2)
|
if (ud->width == 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user