From b51b78f79649781cae27906733efffa73e572f27 Mon Sep 17 00:00:00 2001 From: Gabriel Sanches Date: Thu, 21 Mar 2019 13:20:50 -0300 Subject: [PATCH] Fix "TX" being displayed as "Tx" "RX" is all caps so either "TX" should also be or none. All caps might be the most common form for both. --- src/widgets/net.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/net.go b/src/widgets/net.go index 41bd6f5..89def2a 100644 --- a/src/widgets/net.go +++ b/src/widgets/net.go @@ -96,7 +96,7 @@ func (self *NetWidget) update() { if i == 0 { return totalBytesRecv, "RX", recentBytesRecv } - return totalBytesSent, "Tx", recentBytesSent + return totalBytesSent, "TX", recentBytesSent }() recentConverted, unitRecent := utils.ConvertBytes(uint64(recent))