chelnak / ysmrr

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

Add Windows support #18

Closed chelnak closed 1 year ago

chelnak commented 1 year ago

Prior to this commit the support for Windows was limited to modern terminal emulators.

This commit uses colorable.NewColorableStout() if we detect a windows OS. This handles the interpretation of the tput escape sequences and color printing.

Currently tested on Server 2019