mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
refactor multiview cursor
This commit is contained in:
@@ -36,9 +36,7 @@ func (w *Widgets) SetCPU(val int) {
|
||||
}
|
||||
|
||||
func (w *Widgets) SetNet(rx int64, tx int64) {
|
||||
//w.net.Label = fmt.Sprintf("%s / %s", byteFormat(rx), byteFormat(tx))
|
||||
w.net.Text = fmt.Sprintf("%s / %s", byteFormat(rx), byteFormat(tx))
|
||||
//w.net2.Lines[0].Data = []int{0, 2, 5, 10, 20, 20, 2, 2, 0, 0}
|
||||
}
|
||||
|
||||
func (w *Widgets) SetMem(val int64, limit int64) {
|
||||
|
||||
Reference in New Issue
Block a user