func runStopwatch(interval time.Duration) {
	startTime := time.Now()

	for _ = range time.Tick(interval) {
		if !isRunning {
			break
		}

		elapsed := time.Since(startTime)
		fmt.Fprintf(out, "\r%v", timeutil.Format(elapsed))
	}
}
// runStopwatch runs the stopwatch and prints the elapsed time.
runStopwatch runs the stopwatch and prints the elapsed time.
// runStopwatch runs the stopwatch and prints the elapsed time .
func runStopwatch(interval time.Duration) {
	startTime := time.Now()
	for _ = range time.Tick(interval) {
		if !isRunning {
			break
		}
		elapsed := time.Since(startTime)
		fmt.Fprintf(out, "\r%v", timeutil.Format(elapsed))
	}
}
func runStopwatch ( interval time . Duration ) { startTime := time . Now ( ) for _ = range time . Tick ( interval ) { if ! isRunning { break } elapsed := time . Since ( startTime ) fmt . Fprintf ( out , " \r " , timeutil . Format ( elapsed ) ) } }
runStopwatch runs the stopwatch and prints the elapsed time.
runStopwatch runs the stopwatch and prints the elapsed time .