Unnecessary loop stopping

This commit is contained in:
Stanislav Pavlovichev 2018-10-28 12:07:43 +02:00
parent d59c91a461
commit ca35ef2aab
1 changed files with 0 additions and 2 deletions

View File

@ -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 {