mirror of
https://github.com/zyedidia/micro
synced 2024-11-05 17:41:24 +00:00
Check error in terminal emulator
This commit is contained in:
parent
015e7c7b83
commit
95ec55fbbf
1 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,10 @@ func RunTermEmulator(h *BufPane, input string, wait bool, getOutput bool, callba
|
|||
}
|
||||
|
||||
t := new(shell.Terminal)
|
||||
t.Start(args, getOutput, wait, callback, userargs)
|
||||
err = t.Start(args, getOutput, wait, callback, userargs)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
h.AddTab()
|
||||
id := MainTab().Panes[0].ID()
|
||||
|
|
Loading…
Reference in a new issue