Closed gabidobo closed 1 year ago
@gabidobo: while testing, the progress indicator is now rotating, but the whole section (including the newly added tips) are flickering quite badly (I guess while refreshing the text). I guess it's something solvable since I don't see this with other CLIs I'm using?
One idea would be to selectively refresh and only update the download progress instead of the entire block (that part flickering would not be a problem IMHO).
Screencast from 2023-03-25 19-12-23.webm
Screencast of how it looks.
@andreimarinescu thanks for catching this, the flicker is almost non-existent on my machine. I've pushed an update fixing it by writing the tips text only once. Cycling through tips was getting a bit complicated with this new setup though, so I'm taking it out for now.
This PR adds displaying Sandworm usage tips while the dependency graph is loading. Tips can be turned off by setting the
--show-tips=false
command line option, or by using theshowTips
key in the config file. Tips consist of a message, an example, and an URL. They are rotated every 10s.Closes #86