diff options
author | Gabriel Sanches <g@lonemaker.com> | 2019-03-21 13:20:50 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-21 13:20:50 -0300 |
commit | b51b78f79649781cae27906733efffa73e572f27 (patch) | |
tree | 0667322a72f7d82e9f5b48163609d69824ddbd14 | |
parent | ade4f2a623094ba7db945d225e2b4c4af57e1320 (diff) |
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.
-rw-r--r-- | src/widgets/net.go | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |