Clear the bottom line before exiting

This commit is contained in:
Christian Rocha 2021-03-15 13:20:16 -04:00
parent 9e9020afce
commit 9d89d162c2

View File

@ -64,6 +64,7 @@ func (r *standardRenderer) start() {
// stop permanently halts the renderer. // stop permanently halts the renderer.
func (r *standardRenderer) stop() { func (r *standardRenderer) stop() {
r.flush() r.flush()
clearLine(r.out)
r.done <- struct{}{} r.done <- struct{}{}
} }