From 5d04f43362ed31e019f67d752896be44af5db30c Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 5 Nov 2023 14:04:23 +0100 Subject: [PATCH] style - amend reset style on apply --- style/style.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style/style.go b/style/style.go index 2a4a303..6e66896 100644 --- a/style/style.go +++ b/style/style.go @@ -12,7 +12,7 @@ import ( const KEY_STYLE_NAME = 0 const KEY_STYLE_COLOR = 1 const KEY_STYLE_OPTION = 2 -const COLOR_OFF = "\\033[m" +const COLOR_OFF = "\x1b[0m" var defStyle *Style = &Style{color: color.HEXStyle("#ffffff"), Name: "default"}