1 Commits

Author SHA1 Message Date
cooper
f28b2656e2 Merge 120cd6c009 into 3d746ec49a 2025-09-29 03:08:12 +00:00
2 changed files with 0 additions and 11 deletions

View File

@@ -152,12 +152,6 @@ func RunInteractiveMode(hosts []config.SSHHost, configFile, currentVersion strin
// Start the application in alt screen mode for clean output
p := tea.NewProgram(m, tea.WithAltScreen())
// Send initial command to start auto-ping when the program starts
go func() {
p.Send(autoPingMsg{})
}()
_, err := p.Run()
if err != nil {
return fmt.Errorf("error running TUI: %w", err)

View File

@@ -20,7 +20,6 @@ type (
versionCheckMsg *version.UpdateInfo
versionErrorMsg error
errorMsg string
autoPingMsg struct{}
)
// startPingAllCmd creates a command to ping all hosts concurrently
@@ -146,10 +145,6 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
return m, nil
case autoPingMsg:
// Handle auto-ping on startup - start pinging all hosts
return m, m.startPingAllCmd()
case versionCheckMsg:
// Handle version check result
if msg != nil {