cleaning up

mine
derailed 2019-05-30 11:47:26 -06:00
parent 39bf09c66c
commit 397ffb8678
2 changed files with 4 additions and 9 deletions

View File

@ -109,11 +109,7 @@ func (v *containerView) shellCmd(evt *tcell.EventKey) *tcell.EventKey {
}
v.stopUpdates()
// v.suspend()
// {
shellIn(v.app, *v.path, v.selectedItem)
// }
// v.resume()
v.restartUpdates()
return nil
}

View File

@ -45,11 +45,10 @@ type resourceView struct {
colorerFn colorerFn
actions keyActions
mx sync.Mutex
// suspended bool
nsListAccess bool
path *string
cancelFn context.CancelFunc
parentCtx context.Context
nsListAccess bool
path *string
cancelFn context.CancelFunc
parentCtx context.Context
}
func newResourceView(title string, app *appView, list resource.List) resourceViewer {