mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: whitespace
This commit is contained in:
@ -210,13 +210,13 @@ extension Ghostty {
|
|||||||
var rgb: UInt32 = 0
|
var rgb: UInt32 = 0
|
||||||
let bg_key = "background"
|
let bg_key = "background"
|
||||||
if (!ghostty_config_get(config, &rgb, bg_key, UInt(bg_key.count))) {
|
if (!ghostty_config_get(config, &rgb, bg_key, UInt(bg_key.count))) {
|
||||||
#if os(macOS)
|
#if os(macOS)
|
||||||
return Color(NSColor.windowBackgroundColor)
|
return Color(NSColor.windowBackgroundColor)
|
||||||
#elseif os(iOS)
|
#elseif os(iOS)
|
||||||
return Color(UIColor.systemBackground)
|
return Color(UIColor.systemBackground)
|
||||||
#else
|
#else
|
||||||
#error("unsupported")
|
#error("unsupported")
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
let red = Double(rgb & 0xff)
|
let red = Double(rgb & 0xff)
|
||||||
|
Reference in New Issue
Block a user