From 7a1770f12924fca85869f0568d169ead2c5648f8 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sat, 4 Jan 2020 20:36:54 +0100 Subject: msgviewer: do not anchor ansi escape to start of line --- widgets/msgviewer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/msgviewer.go') 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) -- cgit