mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
remove Render method from containerWidgets interface
This commit is contained in:
@@ -35,12 +35,7 @@ func (c *Container) ShortName() string {
|
||||
}
|
||||
|
||||
func (c *Container) Expand() {
|
||||
var curWidgets cwidgets.ContainerWidgets
|
||||
|
||||
curWidgets = c.widgets
|
||||
c.widgets = expanded.NewExpanded(c.ShortID(), c.name)
|
||||
c.widgets.Render(0, 0)
|
||||
c.widgets = curWidgets
|
||||
}
|
||||
|
||||
func (c *Container) SetState(s string) {
|
||||
|
||||
Reference in New Issue
Block a user