From b98bff8dc8f5b9de2377c8a04739a2586d2f9314 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Sun, 22 May 2022 15:55:47 +0200 Subject: [PATCH] Auto saved by Logseq --- tmux resize.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tmux resize.md b/tmux resize.md index 063af60bc..d4dbb9463 100644 --- a/tmux resize.md +++ b/tmux resize.md @@ -4,4 +4,6 @@ - [[tmux]] has this annoying habit to always fit to the *smallest* terminal attached to a session, even if inactive. - it results in terminals that look like this: - ![image.png](./assets/image_1653227629683_0.png) - - starting after version 2.8 (version 2.8 doesn't have this), you can use \ No newline at end of file + - starting after version 2.8 (version 2.8 doesn't have this), you can use `resize-window` as per the above -- or just drop this in .tmux.conf to have it fit instead to the largest window: + - `set -g window-size largest` + - https://stackoverflow.com/questions/7814612/is-there-any-way-to-redraw-tmux-window-when-switching-smaller-monitor-to-bigger \ No newline at end of file