aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux.18
-rw-r--r--window-copy.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/tmux.1 b/tmux.1
index 05a19e2c..563d0452 100644
--- a/tmux.1
+++ b/tmux.1
@@ -833,13 +833,13 @@ is given.
and
.Ar shell-command
are the name of and shell command to execute in the initial window.
-If
-.Fl d
-is used,
+With
+.Fl d ,
+the initial size is 80 x 24;
.Fl x
and
.Fl y
-specify the size of the initial window.
+can be used to specify a different size.
.Pp
If run from a terminal, any
.Xr termios 4
diff --git a/window-copy.c b/window-copy.c
index 6d1a9f69..c8807c99 100644
--- a/window-copy.c
+++ b/window-copy.c
@@ -1458,7 +1458,7 @@ window_copy_adjust_selection(struct window_pane *wp, u_int *selx, u_int *sely)
}
*selx = sx;
- *sely = screen_hsize(s) + sy;
+ *sely = sy;
return (relpos);
}