This commit is contained in:
neon443 committed 2025-09-01 17:17:38 +01:00
1 parent 4cd74c2633
commit 005b1ed9c9
1 file changed
+5 -4
+5 -4
View File
@@ -143,10 +143,11 @@ Hostkey fingerprint is \(handler.getHostkey() ?? "nil")
Button() {
handler.go()
showTerminal = checkShell(handler.state)
// if showTerminal {
// hostsManager.addToHistory(handler.host)
// handler.writeToChannel(hostsManager.snippets.first(where: { $0.id == handler.host.startupSnippetID })?.content)
// }
DispatchQueue.main.asyncAfter(deadline: .now()+0.1) {
guard checkShell(handler.state) else { return }
hostsManager.addToHistory(handler.host)
handler.writeToChannel(hostsManager.snippets.first(where: { $0.id == handler.host.startupSnippetID })?.content)
}
} label: {
Label("Connect", systemImage: "power")
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.