Clear necessary lines before rendering

This commit is contained in:
Christian Rocha
2020-01-15 22:41:45 -05:00
parent 7c7c8f7c86
commit fe42b5c4a7
2 changed files with 7 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ func chosenView(m Model) string {
label = fmt.Sprintf("Downloaded. Exiting in %d...", m.Ticks)
}
return msg + "\n\n\n\n\n\n " + label + "\n" + progressbar(80, m.Progress) + "%"
return msg + "\n\n " + label + "\n" + progressbar(80, m.Progress) + "%"
}
func checkbox(label string, checked bool) string {