asdflkj;aso;djfghaoeihj

FINALLY
ok finally fix the issues with keybaird input and restoring sessions
This commit is contained in:
neon443
2025-07-04 18:30:45 +01:00
parent 76ed946781
commit 6eb5845c4f

View File

@@ -147,19 +147,12 @@ struct ShellTabView: View {
.id(selectedID) .id(selectedID)
.transition(.opacity) .transition(.opacity)
} else { } else {
if let handler { Text("No Session")
ShellView(
handler: handler,
hostsManager: hostsManager
)
.onAppear { .onAppear {
if selectedID == nil { if selectedID == nil {
selectedID = handler.sessionID selectedID = handler?.sessionID
} }
} }
} else {
Text("No Session")
}
} }
} }
} }