summaryrefslogtreecommitdiff
path: root/toolkit/gocui/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-26 01:59:42 -0500
committerJeff Carr <[email protected]>2023-04-26 01:59:42 -0500
commit7af6242cbfbd2d18461415e8421146f94093e8ca (patch)
tree0bfdbc452b83cef498d32ad813bd28f0d2dbc149 /toolkit/gocui/main.go
parent4b9b381bcf02c212d72f55d4738943941e843250 (diff)
gocui: closer to working layout
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/main.go')
-rw-r--r--toolkit/gocui/main.go13
1 files changed, 2 insertions, 11 deletions
diff --git a/toolkit/gocui/main.go b/toolkit/gocui/main.go
index f1a0106..492d935 100644
--- a/toolkit/gocui/main.go
+++ b/toolkit/gocui/main.go
@@ -13,18 +13,9 @@ import (
// to this toolkit from the wit/gui golang package
func init() {
log(logInfo, "Init() of awesome-gocui")
- Set(&me, "default")
-
-// me.groupPadding = 4
-// me.buttonPadding = 3
- // todo, remove all of these
-// me.defaultWidth = 10
-// me.defaultHeight = 2 // this means by default one line of text in a button
-
-// me.horizontalPadding = 20
-// me.horizontalPadding = 20
- // todo, remove all of these
+ // init the config struct default values
+ Set(&me, "default")
me.pluginChan = make(chan toolkit.Action)