aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-03-31 17:13:20 +0000
committernicm <nicm>2020-03-31 17:13:20 +0000
commite221ef203c8d21e6ef3f6847c076c915ba1d9788 (patch)
treec02a17a9c3394340b3af403b6cf680f287acbe2d /tmux.1
parente6d1b6770c14e401fc131e9bfa5a5d2068b9211f (diff)
downloadrtmux-e221ef203c8d21e6ef3f6847c076c915ba1d9788.tar.gz
rtmux-e221ef203c8d21e6ef3f6847c076c915ba1d9788.tar.bz2
rtmux-e221ef203c8d21e6ef3f6847c076c915ba1d9788.zip
Add a -T flag to resize-pane to trim lines below the cursor, moving
lines out of the history. GitHub issue 2134.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.15
1 files changed, 4 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index a3b2b0f8..b0fc5600 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2261,7 +2261,7 @@ Rename the current window, or the window at
if specified, to
.Ar new-name .
.It Xo Ic resize-pane
-.Op Fl DLMRUZ
+.Op Fl DLMRTUZ
.Op Fl t Ar target-pane
.Op Fl x Ar width
.Op Fl y Ar height
@@ -2300,6 +2300,9 @@ and unzoomed (its normal position in the layout).
.Fl M
begins mouse resizing (only valid if bound to a mouse key binding, see
.Sx MOUSE SUPPORT ) .
+.Pp T
+trims all lines below the current cursor position and moves lines out of the
+history to replace them.
.It Xo Ic resize-window
.Op Fl aADLRU
.Op Fl t Ar target-window