feat: add async SSH ping for all hosts with status indicator

This commit is contained in:
2025-09-06 10:29:56 +02:00
parent 6577002e2b
commit 42387eb1fa
10 changed files with 590 additions and 189 deletions

View File

@@ -2,6 +2,7 @@ package ui
import (
"sshm/internal/config"
"sshm/internal/connectivity"
"sshm/internal/history"
"github.com/charmbracelet/bubbles/table"
@@ -73,6 +74,7 @@ type Model struct {
deleteMode bool
deleteHost string
historyManager *history.HistoryManager
pingManager *connectivity.PingManager
sortMode SortMode
configFile string // Path to the SSH config file