9

I have a nice tmux status line, but I don't like how the bash/commands run flush along it. That is, if the screen is full, I'm typing things right above the status line.

I'd like a one line break above it, so that what I'm typing never "touches" the status line; is there any way to do this?

Example:

Let's say I have a very small terminal window that is two lines long

bash>$ (cursor)
1: bash*  2: bash-  3: vim-

How would I get a blank line to separate the status bar from the prompt, like:

bash>$ (cursor)

1: bash*  2: bash-  3: vim-
  • Could you provide a screen shot? – Sardathrion Jan 29 '13 at 8:21
  • 1
    @Sardathrion I added a visual indication of what I am talking about, does that help? :) – Justin L. Jan 31 '13 at 19:09
  • 1
    Powerline has some tmux bindings that you might find helpful. – Sardathrion Feb 1 '13 at 7:41
  • select-layout should help, I think – sendmoreinfo Feb 23 '13 at 7:43
  • Not a direct answer, but changing the background color of the status bar provides a good amount of visual distinction between the command line and the status bar. – chepner Mar 27 '14 at 15:53
2

If you don't mind typing directly above the pane border (which you have to do anyway for any panel that doesn't touch the status line), you can force tmux to use a smaller window:

set force-height <single_window_height - 1>

However this only is a per-window setting and acts as maximum height limit hence it won't do what you want when you change your containing terminal dimesions.

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.