apprt/gtk: make wide-style gtk tabs configurable

This commit is contained in:
Mitchell Hashimoto
2023-09-28 08:54:15 -07:00
parent 16f5af8b32
commit 685495c896
2 changed files with 14 additions and 4 deletions

View File

@@ -411,6 +411,12 @@ keybind: Keybinds = .{},
/// Debug builds of Ghostty have a separate single-instance ID.
@"gtk-single-instance": bool = true,
/// If true (default), then the Ghostty GTK tabs will be "wide." Wide tabs
/// are the new typical Gnome style where tabs fill their available space.
/// If you set this to false then tabs will only take up space they need,
/// which is the old style.
@"gtk-wide-tabs": bool = true,
/// This will be used to set the TERM environment variable.
/// HACK: We set this with an "xterm" prefix because vim uses that to enable key
/// protocols (specifically this will enable 'modifyOtherKeys'), among other