Clear screen in loop
This commit is contained in:
parent
1ccdfa0941
commit
dd70490290
|
@ -5,6 +5,8 @@ import (
|
||||||
"sevenkeys/database"
|
"sevenkeys/database"
|
||||||
"sevenkeys/logic"
|
"sevenkeys/logic"
|
||||||
"sevenkeys/logic/scryfall"
|
"sevenkeys/logic/scryfall"
|
||||||
|
|
||||||
|
"github.com/inancgumus/screen"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -37,9 +39,10 @@ func main() {
|
||||||
fmt.Println("No update required.")
|
fmt.Println("No update required.")
|
||||||
}
|
}
|
||||||
|
|
||||||
storageLocation := logic.GetStorageLocation()
|
//storageLocation := logic.GetStorageLocation()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
//name := logic.GetCardName
|
screen.Clear()
|
||||||
|
screen.MoveTopLeft()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue