Skip to content

Commit

Permalink
Unnecessary loop stopping
Browse files Browse the repository at this point in the history
  • Loading branch information
fr05t1k committed Oct 28, 2018
1 parent d59c91a commit ca35ef2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions menus.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ca35ef2

Please sign in to comment.