diff --git a/internal/action/command.go b/internal/action/command.go index 64d0aab8..cbfdec29 100644 --- a/internal/action/command.go +++ b/internal/action/command.go @@ -821,7 +821,11 @@ func (h *BufPane) TermCmd(args []string) { term := func(i int, newtab bool) { t := new(shell.Terminal) - t.Start(args, false, true, nil, nil) + err := t.Start(args, false, true, nil, nil) + if err != nil { + InfoBar.Error(err) + return + } id := h.ID() if newtab {