mirror of
https://github.com/tmux/tmux.git
synced 2026-10-12 05:34:24 +00:00
Typos and doc fixes, from Ben Boeckel.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: cmd-split-window.c,v 1.143 2026/07/13 16:07:47 nicm Exp $ */
|
/* $OpenBSD: cmd-split-window.c,v 1.144 2026/07/14 15:06:54 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -60,10 +60,10 @@ const struct cmd_entry cmd_split_window_entry = {
|
|||||||
.name = "split-window",
|
.name = "split-window",
|
||||||
.alias = "splitw",
|
.alias = "splitw",
|
||||||
|
|
||||||
.args = { "bc:de:EfF:hIkl:m:p:PR:s:S:t:T:vWZ", 0, -1, NULL },
|
.args = { "bB:c:de:EfF:hIkl:m:p:PR:s:S:t:T:vWZ", 0, -1, NULL },
|
||||||
.usage = "[-bdefhIklPvWZ] [-c start-directory] [-e environment] "
|
.usage = "[-bdefhIklPvWZ] [-B border-lines] [-c start-directory] "
|
||||||
"[-F format] [-l size] [-m message] [-p percentage] "
|
"[-e environment] [-F format] [-l size] [-m message] "
|
||||||
"[-s style] [-S active-border-style] "
|
"[-p percentage] [-s style] [-S active-border-style] "
|
||||||
"[-R inactive-border-style] [-T title] "
|
"[-R inactive-border-style] [-T title] "
|
||||||
CMD_TARGET_PANE_USAGE " [shell-command [argument ...]]",
|
CMD_TARGET_PANE_USAGE " [shell-command [argument ...]]",
|
||||||
|
|
||||||
|
|||||||
8
format.c
8
format.c
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: format.c,v 1.403 2026/07/10 15:20:06 nicm Exp $ */
|
/* $OpenBSD: format.c,v 1.404 2026/07/14 15:06:54 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -85,13 +85,13 @@ format_job_cmp(struct format_job *fj1, struct format_job *fj2)
|
|||||||
return (strcmp(fj1->cmd, fj2->cmd));
|
return (strcmp(fj1->cmd, fj2->cmd));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Maimum pad and trim width. */
|
/* Maximum pad and trim width. */
|
||||||
#define FORMAT_MAX_WIDTH 10000
|
#define FORMAT_MAX_WIDTH 10000
|
||||||
|
|
||||||
/* Maimum repeat size. */
|
/* Maximum repeat size. */
|
||||||
#define FORMAT_MAX_REPEAT 10000
|
#define FORMAT_MAX_REPEAT 10000
|
||||||
|
|
||||||
/* Maimum precision. */
|
/* Maximum precision. */
|
||||||
#define FORMAT_MAX_PRECISION 100
|
#define FORMAT_MAX_PRECISION 100
|
||||||
|
|
||||||
/* Format modifiers. */
|
/* Format modifiers. */
|
||||||
|
|||||||
11
tmux.1
11
tmux.1
@@ -1,4 +1,4 @@
|
|||||||
.\" $OpenBSD: tmux.1,v 1.1138 2026/07/13 22:03:08 nicm Exp $
|
.\" $OpenBSD: tmux.1,v 1.1139 2026/07/14 15:06: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: July 13 2026 $
|
.Dd $Mdocdate: July 14 2026 $
|
||||||
.Dt TMUX 1
|
.Dt TMUX 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -848,6 +848,7 @@ Each has a single-character alternative form.
|
|||||||
.It Li "{next}" Ta "+" Ta "The next window by number"
|
.It Li "{next}" Ta "+" Ta "The next window by number"
|
||||||
.It Li "{previous}" Ta "\-" Ta "The previous window by number"
|
.It Li "{previous}" Ta "\-" Ta "The previous window by number"
|
||||||
.It Li "{current}" Ta "@" Ta "The current window"
|
.It Li "{current}" Ta "@" Ta "The current window"
|
||||||
|
.It Li "{mouse}" Ta "=" Ta "The window where the mouse event happened"
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Ar target\-pane
|
.Ar target\-pane
|
||||||
@@ -881,6 +882,8 @@ The following special tokens are available for the pane index:
|
|||||||
.It Li "{left\-of}" Ta "" Ta "The pane to the left of the active pane"
|
.It Li "{left\-of}" Ta "" Ta "The pane to the left of the active pane"
|
||||||
.It Li "{right\-of}" Ta "" Ta "The pane to the right of the active pane"
|
.It Li "{right\-of}" Ta "" Ta "The pane to the right of the active pane"
|
||||||
.It Li "{active}" Ta "@" Ta "The active pane"
|
.It Li "{active}" Ta "@" Ta "The active pane"
|
||||||
|
.It Li "{marked}" Ta "~" Ta "The marked pane"
|
||||||
|
.It Li "{mouse}" Ta "=" Ta "The pane where the mouse event happened"
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The tokens
|
The tokens
|
||||||
@@ -4035,6 +4038,7 @@ the command behaves like
|
|||||||
.Tg splitw
|
.Tg splitw
|
||||||
.It Xo Ic split\-window
|
.It Xo Ic split\-window
|
||||||
.Op Fl bdefhIkPvZ
|
.Op Fl bdefhIkPvZ
|
||||||
|
.Op Fl B Ar border\-lines
|
||||||
.Op Fl c Ar start\-directory
|
.Op Fl c Ar start\-directory
|
||||||
.Op Fl e Ar environment
|
.Op Fl e Ar environment
|
||||||
.Op Fl F Ar format
|
.Op Fl F Ar format
|
||||||
@@ -4082,6 +4086,9 @@ may be followed by
|
|||||||
to specify a percentage of the available space.
|
to specify a percentage of the available space.
|
||||||
.Fl p
|
.Fl p
|
||||||
is a shorthand option for this.
|
is a shorthand option for this.
|
||||||
|
.Fl B
|
||||||
|
sets the pane border lines for floating panes; see
|
||||||
|
.Ic pane\-border\-lines .
|
||||||
The
|
The
|
||||||
.Fl b
|
.Fl b
|
||||||
option causes the new pane to be created to the left of or above
|
option causes the new pane to be created to the left of or above
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: window-copy.c,v 1.419 2026/07/14 11:08:36 nicm Exp $ */
|
/* $OpenBSD: window-copy.c,v 1.420 2026/07/14 15:06:54 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -5573,7 +5573,8 @@ window_copy_update_cursor(struct window_mode_entry *wme, u_int cx, u_int cy)
|
|||||||
if (window_copy_line_numbers_active(wme)) {
|
if (window_copy_line_numbers_active(wme)) {
|
||||||
width = window_copy_line_number_width(wme);
|
width = window_copy_line_number_width(wme);
|
||||||
|
|
||||||
if (s->sel != NULL || data->lineflag != LINE_SEL_NONE ||
|
if (s->sel != NULL ||
|
||||||
|
data->lineflag != LINE_SEL_NONE ||
|
||||||
old_cy != data->cy) {
|
old_cy != data->cy) {
|
||||||
window_copy_redraw_screen(wme);
|
window_copy_redraw_screen(wme);
|
||||||
return;
|
return;
|
||||||
@@ -6809,9 +6810,8 @@ window_copy_scroll_up(struct window_mode_entry *wme, u_int ny)
|
|||||||
window_copy_write_line(wme, &ctx, 1);
|
window_copy_write_line(wme, &ctx, 1);
|
||||||
if (screen_size_y(s) > 3)
|
if (screen_size_y(s) > 3)
|
||||||
window_copy_write_line(wme, &ctx, screen_size_y(s) - 2);
|
window_copy_write_line(wme, &ctx, screen_size_y(s) - 2);
|
||||||
if (s->sel != NULL && screen_size_y(s) > ny) {
|
if (s->sel != NULL && screen_size_y(s) > ny)
|
||||||
window_copy_write_line(wme, &ctx, screen_size_y(s) - ny - 1);
|
window_copy_write_line(wme, &ctx, screen_size_y(s) - ny - 1);
|
||||||
}
|
|
||||||
screen_write_cursormove(&ctx,
|
screen_write_cursormove(&ctx,
|
||||||
window_copy_cursor_offset(wme, data->cx, screen_size_x(s)),
|
window_copy_cursor_offset(wme, data->cx, screen_size_x(s)),
|
||||||
data->cy, 0);
|
data->cy, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user