summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--widgets/msgviewer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 25bebfa..426d914 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -23,7 +23,7 @@ import (
 	"git.sr.ht/~sircmpwn/aerc/models"
 )
 
-var ansi = regexp.MustCompile("^\x1B\\[[0-?]*[ -/]*[@-~]")
+var ansi = regexp.MustCompile("\x1B\\[[0-?]*[ -/]*[@-~]")
 
 var _ ProvidesMessages = (*MessageViewer)(nil)