aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-01-04 20:36:54 +0100
committerDrew DeVault <sir@cmpwn.com>2020-01-05 16:02:39 -0500
commit7a1770f12924fca85869f0568d169ead2c5648f8 (patch)
tree301a5dfd4e476cfcce4b29fd93aa9ff13e9c5c57
parent14d58c2f7b7b6febe8d1ea167940dc751dd6b0d7 (diff)
downloadaerc-7a1770f12924fca85869f0568d169ead2c5648f8.tar.gz
msgviewer: do not anchor ansi escape to start of line
-rw-r--r--widgets/msgviewer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 25bebfa3..426d914e 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)