Kitty: Feature suggestion: rounded corners/border radius

Created on 2 Jul 2018  路  8Comments  路  Source: kovidgoyal/kitty

I have been running a patched version of iTerm2 on my mac system for awhile that allows me to have a radius on the corners of the terminal window when I have the title bar hidden. I'm curious if this would be possible to implement in kitty. Here's a screenshot of my iTerm2 window:
screen shot 2018-07-02 at 11 47 15 am
I know some people probably don't care about something like this but I find it quite aesthetically pleasing.

Most helpful comment

+1 to this. It'd be great to have an option to hide the titlebar while keeping intact the border radius, especially on macOS.

All 8 comments

Not something I am interested in personally, but I am willing to consider a patch, providing it does not have negative performance implications/interfere with other terminal features such as transparency.

Previously (prior #1127) there had been a toggle macos_hide_titlebar. Did this do exactly what it was named like, meaning not displaying the titlebar and leaving the border window decoration intact?
If so, bringing back this flag would add rounded corners automatically, because of the default mac border window decoration.

Or has this been consolidated, since it removed all of window decorations anyhow and my whole idea is non-sense?

As far as I recall it hid everything.

Yes, as discussed in #1106, macos_hide_titlebar hid all the window decorations. And if you look at https://github.com/kovidgoyal/kitty/commit/53166d659e2c7dd236e66a1d5f514f6ff0d43db2, you can see, that this commit didn't change any of the actual functionality to hide the window decorations.

+1 to this. It'd be great to have an option to hide the titlebar while keeping intact the border radius, especially on macOS.

In case you guys are still interested and haven't seen it yet, I added an option to do this in January, see #2286 and https://sw.kovidgoyal.net/kitty/conf.html#opt-kitty.hide_window_decorations.

@Luflosi Is there anyway to also add functionality to allow the window to be dragged around without the titlebar? Alacritty has this kind of functionality so I was curious if something like that could be implemented for kitty?

Most macOS apps seem to support being dragged around at any of the four window borders but I have no clue how to implement this in kitty. If anyone knows, feel free to make a PR.

Was this page helpful?
0 / 5 - 0 ratings