restructure container,connectors in subpackage

This commit is contained in:
Bradley Cicenas
2017-06-08 14:51:02 +00:00
parent 8fb7a8988f
commit b85ca680f0
9 changed files with 50 additions and 32 deletions

View File

@@ -2,6 +2,7 @@ package main
import (
"github.com/bcicen/ctop/config"
"github.com/bcicen/ctop/container"
"github.com/bcicen/ctop/cwidgets/expanded"
ui "github.com/gizak/termui"
)
@@ -34,7 +35,7 @@ func RedrawRows(clr bool) {
ui.Render(cGrid)
}
func ExpandView(c *Container) {
func ExpandView(c *container.Container) {
ui.Clear()
ui.DefaultEvtStream.ResetHandlers()
defer ui.DefaultEvtStream.ResetHandlers()