summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-03 19:28:19 -0600
committerJeff Carr <[email protected]>2024-02-03 19:28:19 -0600
commitfd56d89cc8f4cf3f839e831f7981fc15158d8800 (patch)
treef78452fadf94910ca831f75f1ec2e69033bfba0c /main.go
parent29d6cadbb391b3844a3bfcea910df03d06d5b443 (diff)
trying to debug SetText()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 07cdb68..c6ec435 100644
--- a/main.go
+++ b/main.go
@@ -80,6 +80,8 @@ func mainGogui() {
// allow gocui to close if possible, then print stack
log.Sleep(1)
+ me.myTree.SendToolkitLoad("nocui")
+ log.Sleep(3)
os.Stdout = origStdout
os.Stderr = origStderr
me.myTree.SendToolkitPanic()
@@ -88,7 +90,6 @@ func mainGogui() {
// attempt to switch to the nocui toolkit
log.Sleep(1)
- me.myTree.SendToolkitLoad("nocui")
// panic("BUMMER")
return
}