v0.14.0 web replay UI, My games, CLI replay

This commit is contained in:
lixen committed 2026-10-19 18:07:41 -04:00
1 parent 87dcb3e550
commit a999177f0c
37 files changed
+4058 -1803

No files matched your search

+6
View File
@@ -114,6 +114,12 @@ func buildPrompt(s *session.Session) string {
}
}
// A replay replaces the turn: the live game is not what the board shows
if seg := command.ReplayPrompt(s); seg != "" {
b.Add(display.Magenta, seg)
return display.Prompt(b.String())
}
// Add game state if available
if s.CurrentGameState != nil {
turnInfo := " - Turn:"