minor style tweaks

pull/8801/head
Mitchell Hashimoto 2025-10-12 13:18:15 -07:00
parent 45aceace72
commit d5c378cd6b
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
2 changed files with 11 additions and 7 deletions

View File

@ -573,6 +573,7 @@ class TerminalWindow: NSWindow {
}
}
#if compiler(>=6.2)
// MARK: Glass
@available(macOS 26.0, *)
@ -616,8 +617,8 @@ class TerminalWindow: NSWindow {
glassEffectView?.removeFromSuperview()
glassEffectView = nil
}
>>>>>>> Conflict 4 of 4 ends
#endif // compiler(>=6.2)
// MARK: Config
struct DerivedConfig {

View File

@ -3106,17 +3106,20 @@ keybind: Keybinds = .{},
/// Available since: 1.2.0
@"macos-shortcuts": MacShortcuts = .ask,
/// The background style for macOS windows when `background-opacity` is less than 1.
/// This controls the visual effect applied behind the terminal background.
/// The background style for macOS windows when `background-opacity` is less
/// than 1. This controls the visual effect applied behind the terminal
/// background.
///
/// Valid values are:
///
/// * `default` - Uses the standard background behavior. The `background-blur`
/// configuration will control whether blur is applied (available on all macOS versions)
/// * `regular-glass` - Standard glass effect with some opacity (macOS 26.0+ only)
/// configuration will control whether blur is applied (available on
/// all macOS versions)
/// * `regular-glass` - Standard glass effect with some opacity (macOS
/// 26.0+ only)
/// * `clear-glass` - Highly transparent glass effect (macOS 26.0+ only)
///
/// Available since: 1.2.2
/// Available since: 1.3.0
@"macos-background-style": MacBackgroundStyle = .default,
/// Put every surface (tab, split, window) into a dedicated Linux cgroup.