I am using screen to split my terminals but I would like to be able to resize the horizontal dimension of the split screens.

If I do C-a :resize 10 I only change the vertical dimension to 10 lines. How do I achieve the same but for the horizontal dimension?


At least on Debian and Ubuntu, the resize command, when applied to a full height region performs a horizontal resizing.

If it works for you, then first split vertically, next perform a resizing of the width, then split horizontally.

  • It doesn't seem to work – pedrosaurio Jan 26 '12 at 16:00
  • 2
    I tried C-a :resize -h 10 and it worked. Before you recommended C-a :resize -v 10 .... I guess your suggestion was right since the beginning but we both got confused with h's and v's. Thanks! – pedrosaurio Jan 27 '12 at 10:19
  • 1
    resize applies to the current region, please try to post screen shot, and show which region you cannot resize. Also a note from GNU Screen web page on the resize command under Bugs, "many of the resize commands will not work reliably with a complicated screen layout" – bsd Jan 27 '12 at 15:19
  • 7
    Resize by percent: :resize 50% – befzz Aug 25 '15 at 18:39
  • 1
    Thanks for the answers. Here are some more commands: C-a :resize -h +10 increases the size and C-a :resize -h -10 decreases the size. – user180910 Jul 22 '16 at 0:30

You can simply use resize command intuitively. Just type C-a : resize +10 to increase size and you can use -10 as well. You can use the same command for both vertical and horizontal window resizing

  • But how does one resize horizontally?  (Hint: the other answer seems to know.) – Scott Nov 22 '18 at 7:49
  • The above command seems to work on both scenarios, just try – jabir ali jab Nov 22 '18 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.