implement scrollback saving

implement a scrollback cap of 10MiB
add prettyscrollback() to return kib, mib etc
tried a different resuming thingy
This commit is contained in:
neon443
2025-06-26 15:46:58 +01:00
parent f082d8b77c
commit c6699a9818
6 changed files with 42 additions and 32 deletions

View File

@@ -9,7 +9,6 @@ import SwiftUI
struct ShellView: View {
@ObservedObject var handler: SSHHandler
@State var resuming: Bool = false
@Environment(\.dismiss) var dismiss
@@ -33,7 +32,7 @@ struct ShellView: View {
}
}
.task {
terminalControllerRef = TerminalController(handler: handler, resuming: resuming)
terminalControllerRef = TerminalController(handler: handler)
}
.toolbar {
ToolbarItem {