diff --git a/cardsim/terminalui.go b/cardsim/terminalui.go index 028b8e7..1c77f09 100644 --- a/cardsim/terminalui.go +++ b/cardsim/terminalui.go @@ -375,6 +375,7 @@ func statsMode[C StatsCollection](p *Player[C]) error { } else if v <= 0 || v > n { fmt.Println("There's no info panel with that index.") } else { + cls() err := displayOnePanel(p, p.InfoPanels[v-1]) errs.Add(err) if IsSeriousError(err) {