Clear screen in loop

This commit is contained in:
The Magician 2024-05-30 15:19:18 +01:00
parent 1ccdfa0941
commit dd70490290
1 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,8 @@ import (
"sevenkeys/database"
"sevenkeys/logic"
"sevenkeys/logic/scryfall"
"github.com/inancgumus/screen"
)
func main() {
@ -37,9 +39,10 @@ func main() {
fmt.Println("No update required.")
}
storageLocation := logic.GetStorageLocation()
//storageLocation := logic.GetStorageLocation()
for {
//name := logic.GetCardName
screen.Clear()
screen.MoveTopLeft()
}
}