mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +00:00
remove 2nd restore
This commit is contained in:
@@ -21,11 +21,13 @@ 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()
|
||||
}
|
||||
}
|
||||
// .onAppear {
|
||||
// if let sessionID = handler.sessionID {
|
||||
// Task {
|
||||
// await container.sessions[sessionID]?.terminalView.restoreScrollback()
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
Group {
|
||||
Color.gray.opacity(0.2)
|
||||
|
||||
Reference in New Issue
Block a user