macOS client overlays, menus and notifications
This commit is contained in:
@@ -6,6 +6,11 @@ let exitedCode = 4000
|
||||
let internalErrorCode = 1011
|
||||
private let retryAfter = Duration.seconds(2)
|
||||
|
||||
@MainActor
|
||||
func terminalFocused() -> Bool {
|
||||
NSApp.keyWindow?.firstResponder is TerminalView
|
||||
}
|
||||
|
||||
struct TerminalTab: View {
|
||||
@Environment(Store.self) private var store
|
||||
@ViewState private var status = ""
|
||||
|
||||
Reference in New Issue
Block a user