about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--widgets/compose.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/compose.go b/widgets/compose.go
index 26b567f..a2fa663 100644
--- a/widgets/compose.go
+++ b/widgets/compose.go
@@ -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)
h=0.5.0&id=cc03f6f4c802ee0742520145e9cacbd88f78ed9a'>cc03f6f ^
cc03f6f ^
3a5b4c2 ^
0897407 ^
cc03f6f ^
25f21b5 ^
61f1b22 ^



25f21b5 ^
cce7cb4 ^




25f21b5 ^

3a5b4c2 ^
cc03f6f ^
0897407 ^

3a5b4c2 ^
0897407 ^




fd0265d ^
0897407 ^


cc03f6f ^
61f1b22 ^








0e9c411 ^















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68