parent
150a271b36
commit
a974027efe
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ func (c *Composer) ShowTerminal() {
|
|||
if editorName == "" {
|
||||
editorName = "vi"
|
||||
}
|
||||
editor := exec.Command(editorName, c.email.Name())
|
||||
editor := exec.Command("/bin/sh", "-c", editorName+" "+c.email.Name())
|
||||
c.editor, _ = NewTerminal(editor) // TODO: handle error
|
||||
c.editor.OnClose = c.termClosed
|
||||
c.grid.AddChild(c.editor).At(1, 0)
|
||||
|
|
Loading…
Reference in a new issue