(frame int)
| 813 | } |
| 814 | |
| 815 | func fullscreenSpinner(frame int) string { |
| 816 | if len(fullscreenSpinnerFrames) == 0 { |
| 817 | return "-" |
| 818 | } |
| 819 | if frame < 0 { |
| 820 | frame = -frame |
| 821 | } |
| 822 | return fullscreenCyan + fullscreenSpinnerFrames[frame%len(fullscreenSpinnerFrames)] + fullscreenReset |
| 823 | } |
| 824 | |
| 825 | func animatedDots(frame int) string { |
| 826 | if frame < 0 { |
no outgoing calls
no test coverage detected