Implement screen clear.

This commit is contained in:
Kistaro Windrider 2023-04-02 00:02:25 -07:00
parent 34e1f3166f
commit c73545fd07
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -119,3 +119,7 @@ func pickNextAction[C StatsCollection](p *Player[C]) (isCard bool, cardIdx int,
}
return pickNextAction(p)
}
func cls() {
fmt.Println("\033[H\033[2J")
}