summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-17 03:02:12 -0600
committerJeff Carr <[email protected]>2024-01-17 03:02:12 -0600
commit4feb266a1751a06d718d7261475e85787106399b (patch)
treee95e21c413649a0ef6983df1b2b7dfea31f23f53
parente691f1c52bcdefc3f41db9af36f8d1701f01b94a (diff)
dropdown menus work again
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile11
-rw-r--r--main.go2
2 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fa93380..ecbf8d4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,14 @@
-all:
- go build -v -x
+all: build
./helloworld
+build:
+ -rm -f helloworld
+ go build -v -x
+
+stderr: build
+ echo "writing to /tmp/helloworld.stderr"
+ ./helloworld >/tmp/helloworld.stderr 2>&1
+
push:
git add --all
git commit -a
diff --git a/main.go b/main.go
index 9bb845d..b0ab3d6 100644
--- a/main.go
+++ b/main.go
@@ -11,7 +11,7 @@ var myGui *gui.Node // This is the beginning of the binary tree of widgets
// go will sit here until the window exits
func main() {
myGui = gui.New().Default()
- myGui.LoadToolkit("nocui")
+ // myGui.LoadToolkit("nocui")
helloworld()
gui.Watchdog()