mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
Unnecessary loop stopping
This commit is contained in:
parent
d59c91a461
commit
ca35ef2aab
2
menus.go
2
menus.go
@ -220,8 +220,6 @@ func ExecShell() MenuFn {
|
||||
|
||||
ui.DefaultEvtStream.ResetHandlers()
|
||||
defer ui.DefaultEvtStream.ResetHandlers()
|
||||
ui.StopLoop()
|
||||
defer ui.Loop()
|
||||
|
||||
shell := config.Get("shell")
|
||||
if err := c.Exec([]string{shell.Val, "-c", "echo '\033[0m' && clear && " + shell.Val}); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user