summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-24 02:29:34 -0600
committerJeff Carr <[email protected]>2024-12-24 02:29:34 -0600
commit47dd3242102228c977101f6a207f7fe00d7d8643 (patch)
treec2b0ce032f986eafbd7ca8564f84381a8bcc0ba8 /main.go
parentdaca292a124bcd8e7074a9192290868bf2ea4693 (diff)
add NoGui()
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index f04cc3c..c8b4df5 100644
--- a/main.go
+++ b/main.go
@@ -260,6 +260,10 @@ func New() *Node {
return me.rootNode
}
+func NoGui() bool {
+ return argGui.NoGui
+}
+
// try to load andlabs, if that doesn't work, fall back to the console
func (n *Node) Default() *Node {
var err error