mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
add ContainerSource interface, fix secondary sort method
This commit is contained in:
@@ -36,7 +36,7 @@ func (c *Container) Expand() {
|
||||
var curWidgets widgets.ContainerWidgets
|
||||
|
||||
curWidgets = c.widgets
|
||||
c.widgets = widgets.NewExpanded(c.ShortID(), c.ShortName())
|
||||
c.widgets = widgets.NewExpanded(c.ShortID(), c.name)
|
||||
c.widgets.Render(0, 0)
|
||||
c.widgets = curWidgets
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user