You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I apologize if this is the wrong place to ask; and I thank you for tmux, which I have been using for 3 or 4 years - wish I'd started sooner.
Using Windows 10 - WSL2 - Ubuntu - bash. I have a layout of 6 panes that I use often, so I put it in a bash script to launch with a short command. I use this on a monitor I have rotated to "portrait mode" -- echo $LINES says it is 89 lines tall (in tmux, it says 88 because one line at the bottom is for the status) and echo $COLUMNS returns 104 columns wide. Launching the layout from a script was working well for the past year or two, but it broke a few days ago.
Line 20 is resize-pane -x 44 and instead of the width being set to 44 columns as expected, now the height gets set to 44 lines. But when I walk through the steps one by one for my layout, when I do resize-pane -x 44, it works as expected.
This happens to this pane even when I move the resize-pane command to a different line -- i.e., when I have the various resizing commands done in a different order, this particular pane 5 gets the height changed instead of the width.
As far as I know, I have not made any changes that would cause this. (I guess some Windows or Ubuntu update could have bizarrely broken it somehow.)
I am using the version of tmux that either comes stock with Ubuntu 20.04, or that I was able to install from the normal WSL2 Ubuntu repository. Using tmux -V, it turns out to be "tmux 3.2a". I see that the current version is 3.5a, so I will try installing that.
Edit - I am having trouble installing version 3.5. Meanwhile, after closing all open Terminal windows, the script is again working properly. (I guess I should have tried that first.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I apologize if this is the wrong place to ask; and I thank you for tmux, which I have been using for 3 or 4 years - wish I'd started sooner.
Using Windows 10 - WSL2 - Ubuntu - bash. I have a layout of 6 panes that I use often, so I put it in a bash script to launch with a short command. I use this on a monitor I have rotated to "portrait mode" --
echo $LINES
says it is 89 lines tall (in tmux, it says 88 because one line at the bottom is for the status) andecho $COLUMNS
returns 104 columns wide. Launching the layout from a script was working well for the past year or two, but it broke a few days ago.Line 20 is
resize-pane -x 44
and instead of the width being set to 44 columns as expected, now the height gets set to 44 lines. But when I walk through the steps one by one for my layout, when I doresize-pane -x 44
, it works as expected.This happens to this pane even when I move the
resize-pane
command to a different line -- i.e., when I have the various resizing commands done in a different order, this particular pane 5 gets the height changed instead of the width.As far as I know, I have not made any changes that would cause this. (I guess some Windows or Ubuntu update could have bizarrely broken it somehow.)
I am using the version of tmux that either comes stock with Ubuntu 20.04, or that I was able to install from the normal WSL2 Ubuntu repository. Using
tmux -V
, it turns out to be "tmux 3.2a". I see that the current version is 3.5a, so I will try installing that.Edit - I am having trouble installing version 3.5. Meanwhile, after closing all open Terminal windows, the script is again working properly. (I guess I should have tried that first.)
Beta Was this translation helpful? Give feedback.
All reactions