summary refs log tree commit diff stats
path: root/commands/account/pipe.go
diff options
context:
space:
mode:
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()
 			}()