summary refs log tree commit diff stats
path: root/commands/account/pipe.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-30 13:05:00 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-30 13:05:00 -0400
commit2958579ee75359dacfabb6d1b36664468011113c (patch)
treeccd5d4decc909fa3111739419cb231cb4e2e4962 /commands/account/pipe.go
parent84965d680cff655c7734070ef93fd3c1e2177748 (diff)
downloadaerc-2958579ee75359dacfabb6d1b36664468011113c.tar.gz
Correct color of error messages
Diffstat (limited to 'commands/account/pipe.go')
-rw-r--r--commands/account/pipe.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/account/pipe.go b/commands/account/pipe.go
index 5693d4a..ab2518b 100644
--- a/commands/account/pipe.go
+++ b/commands/account/pipe.go
@@ -32,13 +32,13 @@ func Pipe(aerc *widgets.Aerc, args []string) error {
 		pipe, err := cmd.StdinPipe()
 		if err != nil {
 			aerc.PushStatus(" "+err.Error(), 10*time.Second).
-				Color(tcell.ColorRed, tcell.ColorWhite)
+				Color(tcell.ColorDefault, tcell.ColorRed)
 			return
 		}
 		term, err := widgets.NewTerminal(cmd)
 		if err != nil {
 			aerc.PushStatus(" "+err.Error(), 10*time.Second).
-				Color(tcell.ColorRed, tcell.ColorWhite)
+				Color(tcell.ColorDefault, tcell.ColorRed)
 			return
 		}
 		host := widgets.NewTermHost(term, aerc.Config())
@@ -50,7 +50,7 @@ func Pipe(aerc *widgets.Aerc, args []string) error {
 		term.OnClose = func(err error) {
 			if err != nil {
 				aerc.PushStatus(" "+err.Error(), 10*time.Second).
-					Color(tcell.ColorRed, tcell.ColorWhite)
+					Color(tcell.ColorDefault, tcell.ColorRed)
 			} else {
 				// TODO: Tab-specific status stacks
 				aerc.PushStatus("Process complete, press any key to close.",
@@ -63,7 +63,7 @@ func Pipe(aerc *widgets.Aerc, args []string) error {
 				_, err := io.Copy(pipe, reader)
 				if err != nil {
 					aerc.PushStatus(" "+err.Error(), 10*time.Second).
-						Color(tcell.ColorRed, tcell.ColorWhite)
+						Color(tcell.ColorDefault, tcell.ColorRed)
 				}
 				pipe.Close()
 			}()
/mu/commit/003trace.test.cc?h=main&id=35064671ef90ec6e35eafd9b15363058bf4f23f4'>35064671 ^
5af83346 ^
51530916 ^

5af83346 ^
35064671 ^

5af83346 ^
51530916 ^

5af83346 ^
35064671 ^
5af83346 ^
51530916 ^

d7494165 ^
35064671 ^
d7494165 ^


51530916 ^
35064671 ^


4a943d4e ^


51530916 ^

51530916 ^
35064671 ^

51530916 ^



35064671 ^

51530916 ^


eba30983 ^
35064671 ^
4c569925 ^
eba30983 ^

6e1eeeeb ^




51530916 ^

36594a43 ^
5f98a10c ^
6e1eeeeb ^

5f98a10c ^
36594a43 ^
5f98a10c ^
51530916 ^
51530916 ^




05d17773 ^
51530916 ^




05d17773 ^
51530916 ^




05d17773 ^

51530916 ^




05d17773 ^


51530916 ^




05d17773 ^


51530916 ^
d7494165 ^















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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133