From dd425dfc815c21f2bd978bf111c5a66b95918dda Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 7 Feb 2024 07:41:35 -0600 Subject: cleanup logging output Signed-off-by: Jeff Carr --- common.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common.go') diff --git a/common.go b/common.go index 274877f..70a5d14 100644 --- a/common.go +++ b/common.go @@ -19,6 +19,10 @@ func (n *Node) Bool() bool { return false // widget.GetBool(n.State.Value) } +func (n *Node) CurrentS() string { + return n.State.CurrentS +} + func (n *Node) String() string { switch n.WidgetType { case widget.Button: -- cgit v1.2.3