chelnak / ysmrr

YSMRR is a package that provides simple multi-line compatible spinners for Go applications.
MIT License
71 stars 6 forks source link

Fix line rendering #23

Closed chelnak closed 1 year ago

chelnak commented 1 year ago

This PR fixes a bug so that we will no longer encounter rendering issues when the application starts at the bottom of a terminal.

Two new commands have been added to the tput package:

The manager now consumes the new tput commands so that we can always ensure that there is enough space to render our spinners.

Essentially before rendering starts we: