From 721c308c936bd8bba9fe070c274607a95b2fb781 Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Sun, 23 May 2021 17:42:28 -0400 Subject: [PATCH] Update Picocrypt.go --- src/unstable/Picocrypt.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/unstable/Picocrypt.go b/src/unstable/Picocrypt.go index 198b067..f6efc78 100644 --- a/src/unstable/Picocrypt.go +++ b/src/unstable/Picocrypt.go @@ -240,7 +240,7 @@ func startUI(){ }), g.Dummy(10,0), - g.Style().SetColor(ig.StyleColor,_status_color).To( + g.Style().SetColor(ig.StyleColorText,_status_color).To( g.Label(_status), ), ), @@ -784,6 +784,7 @@ func work(){ if !keyCorrect{ working = false _status = "Incorrect password." + _status_color = color.RGBA{0xff,0x00,0x00,255} return } fout,_ = os.OpenFile( @@ -945,7 +946,8 @@ func work(){ } fmt.Println("==============================") resetUI() - status = "Completed." + _status = "Completed." + _status_color = color.RGBA{0x00,0xff,0x00,255} working = false }