style - amend reset style on apply

This commit is contained in:
Mahdi Abu Yasmine 2023-11-05 14:04:23 +01:00
parent bcf4abb26c
commit 5d04f43362

View File

@ -12,7 +12,7 @@ import (
const KEY_STYLE_NAME = 0 const KEY_STYLE_NAME = 0
const KEY_STYLE_COLOR = 1 const KEY_STYLE_COLOR = 1
const KEY_STYLE_OPTION = 2 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"} var defStyle *Style = &Style{color: color.HEXStyle("#ffffff"), Name: "default"}