simplified the red&yellow traffic lights

removed the green one idk what to do w it
improved teh lights themselves, they have equal spacing on all sides, including padding
fixed background of the titlebar/trafffic light header
hide the session title in the tab if its active
if not active show it
ANIMATIONS!
This commit is contained in:
neon443
2025-07-04 12:41:37 +01:00
parent 143e785ca6
commit a611154c3d
3 changed files with 26 additions and 33 deletions

View File

@@ -30,6 +30,7 @@ final class SSHTerminalDelegate: TerminalView, Sendable, @preconcurrency Termina
while handler.connected {
if let read = handler.readFromChannel() {
await MainActor.run {
print(read)
self.feed(text: read)
}
} else {
@@ -48,6 +49,7 @@ final class SSHTerminalDelegate: TerminalView, Sendable, @preconcurrency Termina
DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) {
self.getTerminal().resetToInitialState()
for line in scrollback {
print(line)
self.feed(text: line)
}
self.setNeedsLayout()