fixed missing percentage sign
This commit is contained in:
@@ -57,7 +57,7 @@ func formatLine(stats *probing.Statistics) {
|
|||||||
packetColor = fmt.Sprintf("%%{F#%s}", CritColor)
|
packetColor = fmt.Sprintf("%%{F#%s}", CritColor)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("%s\uE4E2 %dms %s\uF1B2 %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) {
|
func formatLineWaybar(stats *probing.Statistics) {
|
||||||
|
Reference in New Issue
Block a user