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.stopUpdates()
// v.suspend()
// {
shellIn(v.app, *v.path, v.selectedItem) shellIn(v.app, *v.path, v.selectedItem)
// }
// v.resume()
v.restartUpdates() v.restartUpdates()
return nil return nil
} }

View File

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