macOS: Added titlebar tabs

This commit is contained in:
Qwerasd
2024-01-30 18:48:36 -05:00
parent b8422717d3
commit ba16d65d02
4 changed files with 228 additions and 2 deletions

View File

@@ -197,6 +197,14 @@ extension Ghostty {
_ = ghostty_config_get(config, &v, key, UInt(key.count))
return v
}
var macosTitlebarTabs: Bool {
guard let config = self.config else { return false }
var v = false;
let key = "macos-titlebar-tabs"
_ = ghostty_config_get(config, &v, key, UInt(key.count))
return v
}
var backgroundColor: Color {
var rgb: UInt32 = 0