diff options
Diffstat (limited to 'lib/parse/ansi.go')
-rw-r--r-- | lib/parse/ansi.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/parse/ansi.go b/lib/parse/ansi.go index 265ef1f4..e1d603ea 100644 --- a/lib/parse/ansi.go +++ b/lib/parse/ansi.go @@ -8,7 +8,7 @@ import ( "os" "regexp" - "git.sr.ht/~rjarry/aerc/logging" + "git.sr.ht/~rjarry/aerc/log" ) var ansi = regexp.MustCompile("\x1B\\[[0-?]*[ -/]*[@-~]") @@ -23,11 +23,11 @@ func StripAnsi(r io.Reader) io.Reader { line = ansi.ReplaceAll(line, []byte("")) _, err := buf.Write(line) if err != nil { - logging.Warnf("failed write ", err) + log.Warnf("failed write ", err) } _, err = buf.Write([]byte("\n")) if err != nil { - logging.Warnf("failed write ", err) + log.Warnf("failed write ", err) } } if err := scanner.Err(); err != nil { |