summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-16 11:41:57 -0600
committerJeff Carr <[email protected]>2024-02-16 11:41:57 -0600
commit052bbb4fa6bfe26e885a8f4513a9f9ee0d40e593 (patch)
tree09855687c8c2e67b13a5266a7dcb36bf03adb6f3
parent0104e411ae66f70e1ee0108235b68bb58297e32e (diff)
what black magic is this?v0.21.0v0.20.8
-rw-r--r--color.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/color.go b/color.go
index 185919c..2d0631a 100644
--- a/color.go
+++ b/color.go
@@ -179,6 +179,11 @@ func (w *guiWidget) redoColor(draw bool) {
// what genius figured this out?
// originally from github.com/dimasma0305/GoFetch
func get_teminal_color_palette() string {
+ // var runes rune
+ // color1 := "\x1b[0;29m  \x1b[0m"
+ // runes = []rune(color1)
+ // view.WriteRunes(runes)
+
color1 := "\x1b[0;29m  \x1b[0m"
color2 := "\x1b[0;31m  \x1b[0m"
color3 := "\x1b[0;32m  \x1b[0m"