mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
add resize handlers, screen width error to expandedWidgets
This commit is contained in:
@@ -18,7 +18,7 @@ func NewExpandedNet() *ExpandedNet {
|
||||
net := &ExpandedNet{ui.NewSparklines(), NewDiffHist(50), NewDiffHist(50)}
|
||||
net.BorderLabel = "NET"
|
||||
net.Height = 6
|
||||
net.Width = 50
|
||||
net.Width = colWidth[0]
|
||||
net.X = 0
|
||||
net.Y = 24
|
||||
|
||||
|
||||
Reference in New Issue
Block a user