changed how the crt effect and terminal blend, now the colors arent washed out

This commit is contained in:
neon443
2025-08-27 11:21:46 +01:00
parent 2da7667ee5
commit 62debc38fb
3 changed files with 29 additions and 23 deletions

View File

@@ -52,6 +52,10 @@ final class SSHTerminalDelegate: TerminalView, Sendable, @preconcurrency Termina
}
}
override func cursorStyleChanged(source: Terminal, newStyle: CursorStyle) {
}
func startFeedLoop() {
Task {
guard let handler else { return }
@@ -59,6 +63,7 @@ final class SSHTerminalDelegate: TerminalView, Sendable, @preconcurrency Termina
if let read = handler.readFromChannel() {
await MainActor.run {
self.feed(text: read)
print(getTerminal().getCursorLocation())
}
} else {
try? await Task.sleep(nanoseconds: 10_000_000) //10ms