cleaning up
parent
39bf09c66c
commit
397ffb8678
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue