From e221ef203c8d21e6ef3f6847c076c915ba1d9788 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 31 Mar 2020 17:13:20 +0000 Subject: [PATCH] Add a -T flag to resize-pane to trim lines below the cursor, moving lines out of the history. GitHub issue 2134. --- tmux.1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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