string with double width runes
Vladimir Bauer
6 years ago
| 44 | 44 | go func() { |
| 45 | 45 | task := fmt.Sprintf("Task#%02d:", i) |
| 46 | 46 | // ANSI escape sequences are not supported on Windows OS |
| 47 | job := "\x1b[31;1;4minstalling\x1b[0m" | |
| 47 | job := "\x1b[31;1;4mつのだ☆HIRO\x1b[0m" | |
| 48 | 48 | // preparing delayed bars |
| 49 | 49 | b := p.AddBar(rand.Int63n(101)+100, |
| 50 | 50 | mpb.BarQueueAfter(bars[i]), |