5

Fairly new to tmux, and have been gradually adding stuff to my config file.

I have the line set -g status-position bottom to put my status bar at the bottom, but there is still a large amount of clearance at the bottom of the frame.
enter image description here

I would like the bar to be flush with the bottom of the screen.

This was the only other SE question I could find, and tmux's Github issues didn't seem to have anything. The man page has only top and bottom as options for status-position, and no other relevant options I could find.

Any dot file dynamos got any recommendations?

6
  • Hack the source; it is not configurable.
    – jasonwryan
    Commented Feb 22, 2018 at 20:37
  • Does your terminal emulator lock the display height to full rows of display, or does it allow smooth resizing? tmux usually displays on the lower full row of terminal output, which might not coincide with the bottom of a pseudo-terminal.
    – 111---
    Commented Feb 22, 2018 at 20:46
  • jasonwryan maybe if I don't find a solution you'll see a pull request in a few months (: Commented Feb 22, 2018 at 20:50
  • datUser not entirely sure what you mean. Using Terminator, looking around for the display height thing mentioned Commented Feb 22, 2018 at 20:51
  • 1
    Try just resizing the height a bit, some emulators do this in increments of complete rows of input. Others don't enforce that and just fudge the margins of the terminal emulator. That gap could just be a UI margin rather than any real space below the tmux bar. Just do some playing with the window size of Terminator. OR it could be a default margin inside of terminator.
    – 111---
    Commented Feb 22, 2018 at 20:56

1 Answer 1

2

Some terminals have default padding on the sides, if you're using gnome-terminal, try adding the following to ~/.config/gtk-3.0/gtk.css

VteTerminal,
vte-terminal,
TerminalScreen {
  padding: 0px;
  margin: 0px;
  -VteTerminal-inner-border: 0px;
}

Also, scrollbars might take up additional padding so disabling it helped in my case.

Related

1
  • Additionally if each line takes exactly N pixels and the height is not divisible by N then the non-zero remainder has to go somewhere; it cannot belong to any line. In computers it's common to count from the top (top-left corner specifically), so the remainder will most likely be at the bottom. Commented Oct 12, 2022 at 15:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .