mirror of https://github.com/cjbassi/gotop.git
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.
This commit is contained in:
parent
ade4f2a623
commit
b51b78f796
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue