msgviewer: do not anchor ansi escape to start of line

This commit is contained in:
Reto Brunner 2020-01-04 20:36:54 +01:00 committed by Drew DeVault
parent 14d58c2f7b
commit 7a1770f129

View file

@ -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)