diff options
| author | Jeff Carr <[email protected]> | 2019-05-23 13:13:42 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-23 13:13:42 -0700 |
| commit | f283a656dc6f57f01a3ef1f049c11830dbe4cdde (patch) | |
| tree | 61ef109829a1bd09ac98a62740e46ba1fd2703de | |
| parent | 7bcdefb94aa8efb853ddafdf444c9df4cf9e464e (diff) | |
start honoring the debugging flag for more output
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | area.go | 9 | ||||
| -rw-r--r-- | gui.go | 1 |
2 files changed, 9 insertions, 1 deletions
@@ -19,7 +19,14 @@ func makeSplashArea(custom func(int, string)) *ui.Area { makeAttributedString() Data.splashArea = ui.NewArea(myAH) - spew.Dump(Data.splashArea) + if (Data.Debug) { + spew.Dump(Data.splashArea) + log.Println("DEBUGGING", Data.Debug) + } else { + log.Println("NOT DEBUGGING", Data.Debug) + log.Println("NOT DEBUGGING", Data.Debug) + log.Println("NOT DEBUGGING", Data.Debug) + } return Data.splashArea } @@ -28,6 +28,7 @@ type GuiDataStructure struct { GitCommit string GoVersion string HomeDir string + Debug bool // account entry textboxes AccNick string |
