mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 14:47:16 +09:00
Check error in terminal emulator
This commit is contained in:
@@ -24,7 +24,10 @@ func RunTermEmulator(h *BufPane, input string, wait bool, getOutput bool, callba
|
|||||||
}
|
}
|
||||||
|
|
||||||
t := new(shell.Terminal)
|
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()
|
h.AddTab()
|
||||||
id := MainTab().Panes[0].ID()
|
id := MainTab().Panes[0].ID()
|
||||||
|
|||||||
Reference in New Issue
Block a user