before refactor serve.go

This commit is contained in:
2025-10-22 08:56:39 +06:00
parent d7a53c218e
commit 344f763bb4
6 changed files with 185 additions and 36 deletions

View File

@@ -54,6 +54,7 @@ func ShowHistory(historyPath string, printColored func(string, string), colorYel
for _, h := range items {
ts := h.Timestamp.Format("2006-01-02 15:04:05")
fmt.Printf("%d. [%s] %s → %s\n", h.Index, ts, h.Command, h.Response)
fmt.Printf("%s\n", "========================================================================================")
}
}