From 1ec88deea93047a9d1a366e032b2a54aa3cd362b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 2 Nov 2021 08:11:40 +0200 Subject: Bugfix: Dealing correctly with files without newline characters, also add more tests --- internal/io/dlog/dlog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/io/dlog/dlog.go') diff --git a/internal/io/dlog/dlog.go b/internal/io/dlog/dlog.go index ff2cef4..5713c1a 100644 --- a/internal/io/dlog/dlog.go +++ b/internal/io/dlog/dlog.go @@ -210,10 +210,10 @@ func (d *DLog) Devel(args ...interface{}) string { // Raw message logging. func (d *DLog) Raw(message string) string { if !config.Client.TermColorsEnable || !d.logger.SupportsColors() { - d.logger.Log(time.Now(), message) + d.logger.Raw(time.Now(), message) return message } - d.logger.LogWithColors(time.Now(), message, brush.Colorfy(message)) + d.logger.RawWithColors(time.Now(), message, brush.Colorfy(message)) return message } -- cgit v1.2.3