alacritty
alacritty copied to clipboard
[Feature] Support for true borderless option in macOS
Using macOS 10.14.1, the borderless options still display a border.
The screenshots are using decorations: none


This is likely because the terminal content doesn't fit the window size correctly. It's not possible to display half cells, so a padding has to be added. This is the intended behavior.
There's #1780 and #388 are related to this problem and the latter is probably what this is a duplicate of.
Please let me know if I've understood this issue incorrectly and I'll re-open. But I think it's already covered in the different linked problems.
I have explored the issues you referenced, and while I have yet to try the commit #1778 fix, I want to illustrate this:
The left window is iTerm, the right is Alacritty. Both are managed by a window manager and thus should be the same size (if both indeed have no borders). However, iTerm, which has true borderless support, is clearly 1px smaller in size.
If I make Alacritty fully transparent, this discrepancy is more obvious, as you can see the border and shadow added by macOS.

Furthermore, the bordering is really strange when full transparency is introduced. I have been able to achieve no border will full transparency at either the cost of ghosting, or really strange border placement.



I am able to consistently reproduce the border in the 3rd image (the one surrounding my prompt). This is with a default alacritty.yml with two edits: decorations: none
and background_opacity: 0.0
.
Of note: The strange border placement is only when the window is focused.
I am having similar issues with opacity, regardless of the decorations settings: