fixed race condition opening the terminal, as restoring scrollback would restore content already there 🤦

This commit is contained in:
neon443
2025-07-04 15:41:45 +01:00
parent b5f8c4e716
commit f68b08d45c
2 changed files with 21 additions and 23 deletions

View File

@@ -21,11 +21,6 @@ struct ShellView: View {
hostsManager.selectedTheme.background.suiColor
.ignoresSafeArea(.all)
TerminalController(handler: handler, hostsManager: hostsManager)
.onAppear {
if let sessionID = handler.sessionID {
container.sessions[sessionID]?.terminalView.restoreScrollback()
}
}
Group {
Color.gray.opacity(0.2)