macos: new tab implementation

This commit is contained in:
Mitchell Hashimoto
2023-02-19 09:04:51 -08:00
parent 94e678ed57
commit e92d90b8d5
3 changed files with 17 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ struct TerminalView: View {
let app: ghostty_app_t
@FocusState private var surfaceFocus: Bool
@Environment(\.isKeyWindow) private var isKeyWindow: Bool
@Environment(\.openWindow) private var openWindow
@State private var title: String = "Ghostty"
// This is true if the terminal is considered "focused". The terminal is focused if