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