thestinger / termite

Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.
https://github.com/alacritty/alacritty
2.74k stars 241 forks source link

Spacing on the bottom and the right (i3wm) #687

Closed oxodao closed 3 years ago

oxodao commented 5 years ago

Hi,

I'm facing more or less the same problem as #174 I'm having a weird space at the bottom but also on the right With the size_hits = true and css doesn't fully fixes it

When the window is in floating mode, it does works as intended When the window is in full screen (Like the standard i3) the bottom is correct but there is still a weird space on the right When the window is in full screen BUT with some gaps (from the i3-gaps fork), I'm having the original issue with both weird spaces.

Here are some pictures to explain better: https://u.oxodao.fr/termite_bug/floating.png https://u.oxodao.fr/termite_bug/wgaps.png https://u.oxodao.fr/termite_bug/wogaps.png

elhenro commented 5 years ago

same problem here, with i3-gaps

littlecoce commented 5 years ago

According to my understanding this gap is the result of a window size with a left over space which does not cover a complete line height (bottom) or character width (right).

When resizing floating windows the same problem should arise.

rlopzc commented 4 years ago

https://github.com/thestinger/termite/issues/174#issuecomment-575178742

syphoxy commented 4 years ago

this is a common issue in a lot of terminal emulators when faced with geometries that are not perfect multiples of the character cell size.

I just came from konsole and one useful feature konsole implements is to center the cell grid to the containing window. the benefit of this is that if it's uneven, at least the left over space would be distributed across the entire border as opposed to along the bottom and right.

I'll start poking at the code to see if this is possible.

thestinger commented 3 years ago

Termite is obsolete. Please use Alacritty instead. See https://github.com/thestinger/termite#termite-is-obsoleted-by-alacritty for more details.