macos: zoomed splits put an emoji in the title bar

This commit is contained in:
Mitchell Hashimoto
2023-09-02 16:33:33 -07:00
parent 4570356e57
commit e2282f1f4d
3 changed files with 33 additions and 3 deletions

View File

@@ -710,3 +710,13 @@ extension FocusedValues {
}
}
extension FocusedValues {
var ghosttySurfaceZoomed: Bool? {
get { self[FocusedGhosttySurfaceZoomed.self] }
set { self[FocusedGhosttySurfaceZoomed.self] = newValue }
}
struct FocusedGhosttySurfaceZoomed: FocusedValueKey {
typealias Value = Bool
}
}