diff options
| -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 |
