ping color green <50ms

This commit is contained in:
2023-04-14 20:03:17 +02:00
parent 89f9f1de40
commit eb8766fd00

View File

@@ -25,7 +25,7 @@ func formatLine(stats *probing.Statistics) {
switch {
case stats.AvgRtt.Milliseconds() < 50:
rttColor = "%{F#f9dd04}"
rttColor = "%{F#3cb703}"
case stats.AvgRtt.Milliseconds() < 100:
rttColor = "%{F#e87205}"
default: