color icons
This commit is contained in:
@@ -56,7 +56,7 @@ func formatLine(stats *probing.Statistics) {
|
||||
packetColor = "%{F#d60606}"
|
||||
}
|
||||
|
||||
fmt.Printf("%%{F-}\uE4E2 %s%dms %%{F-}\uF1B2 %s%d%%\n", rttColor, stats.AvgRtt.Milliseconds(), packetColor, int(math.Round(stats.PacketLoss)))
|
||||
fmt.Printf("%s\uE4E2 %dms %s\uF1B2 %d%%\n", rttColor, stats.AvgRtt.Milliseconds(), packetColor, int(math.Round(stats.PacketLoss)))
|
||||
}
|
||||
|
||||
func formatLineWaybar(stats *probing.Statistics) {
|
||||
|
Reference in New Issue
Block a user