summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGabriel Sanches <g@lonemaker.com>2019-03-21 13:20:50 -0300
committerGitHub <noreply@github.com>2019-03-21 13:20:50 -0300
commitb51b78f79649781cae27906733efffa73e572f27 (patch)
tree0667322a72f7d82e9f5b48163609d69824ddbd14 /src
parentade4f2a623094ba7db945d225e2b4c4af57e1320 (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.
Diffstat (limited to 'src')
-rw-r--r--src/widgets/net.go2
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))