在 tmux 中,我可以将窗格大小调整为绝对值吗 [英] In tmux can I resize a pane to an absolute value
问题描述
是否可以告诉 tmux将窗格大小调整为 5 行高"?
Is it possible to tell tmux to "resize a pane to 5 lines high"?
我知道我可以执行 resize-pane -U 3
来移动分隔线,但有时当使用不同大小的显示器登录时,大小已经改变了很多行,我可以't 用眼睛判断.我希望能够有一个命令来将一个窗口更改为正确的行数,而不是使用多个 resize-pane
命令.
I know I can do resize-pane -U 3
to move the dividing line, but sometimes when logging in with a different size monitor the size has changed by a lot of lines that I can't judge by eye. I'd like to be able to have one command that will change one window to exactly the right number of lines rather than faffing about with multiple resize-pane
commands.
推荐答案
用法:resize-pane [-DLRUZ] [-x width] [-y height] [-t target-pane][调整]
usage: resize-pane [-DLRUZ] [-x width] [-y height] [-t target-pane] [adjustment]
即.
resize-pane -t 1 -y 5
resize-pane -t 1 -y 5
这篇关于在 tmux 中,我可以将窗格大小调整为绝对值吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!