This commit is contained in:
neon443
2025-06-09 17:26:41 +01:00
parent d4e1660728
commit 62eedee835
2 changed files with 4 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ struct TerminalView: View {
@ObservedObject var handler: SSHHandler
var body: some View {
TextViewController(text: $handler.host.address)
TextViewController(text: $handler.terminal)
}
}

View File

@@ -14,7 +14,9 @@ struct TextViewController: UIViewRepresentable {
@Binding var text: String
func makeUIView(context: Context) -> TextView {
var textView = TextView()
let textView = TextView()
textView.translatesAutoresizingMaskIntoConstraints = false
textView.backgroundColor = .systemBackground
return textView
}