summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-13 14:14:03 -0600
committerJeff Carr <[email protected]>2025-02-13 14:14:03 -0600
commit7cf45950534db7f6bd6bc18723414b57ab532d13 (patch)
tree25e3171f2781f6f6ab66edbcab4f24ff93c36222
parent187167f1498c9cc10cfbcbf510ad0a1718d015d3 (diff)
default to 'gocui'
-rw-r--r--Makefile2
-rw-r--r--main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7ed5ff1..7d8c603 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d)
all: build
- ./helloworld
+ ./helloworld --gui gocui
build:
GO111MODULE=off go build \
diff --git a/main.go b/main.go
index ac0e8ec..9bee501 100644
--- a/main.go
+++ b/main.go
@@ -33,7 +33,7 @@ func helloworld() {
window := myGui.NewWindow("hello world")
box := window.NewBox("vbox", false)
- group := box.NewGroup("groupy")
+ group := box.NewGroup("A Group")
grid := group.NewGrid("gridiron", 2, 1)
grid.NewButton("hello", func() {