adjusted ping color limits

This commit is contained in:
2023-04-14 19:42:09 +02:00
parent c80cc7a6f5
commit 89f9f1de40

View File

@@ -24,9 +24,7 @@ func formatLine(stats *probing.Statistics) {
var packetColor string
switch {
case stats.AvgRtt.Milliseconds() < 33:
rttColor = "%{F#3cb703}"
case stats.AvgRtt.Milliseconds() < 66:
case stats.AvgRtt.Milliseconds() < 50:
rttColor = "%{F#f9dd04}"
case stats.AvgRtt.Milliseconds() < 100:
rttColor = "%{F#e87205}"