v0.14.0 web replay UI, My games, CLI replay
This commit is contained in:
1 parent
87dcb3e550
commit
dbe7283ca2
37 files changed
+4058
-1809
No files matched your search
@@ -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:"
|
||||
|
||||
Reference in new issue
Block a user