summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 15:01:28 -0600
committerJeff Carr <[email protected]>2024-02-05 15:01:28 -0600
commit01c8dd6cf462ea3d33ea6c7eb5b91a6852a33964 (patch)
tree4ac60f2d5d3131cba70594cd7694c880b4d69d39 /state.go
parentec4fb6aecb83df430a378d604a52c562084b2265 (diff)
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'state.go')
-rw-r--r--state.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/state.go b/state.go
index 788b493..7b7c7d8 100644
--- a/state.go
+++ b/state.go
@@ -15,7 +15,14 @@ type State struct {
// most primitive widgets just store a single thing
// it is the default value
- Value any
+ DefaultS string
+ CurrentS string
+ CurrentI int
+ NewString string
+
+ // most primitive widgets just store a single thing
+ // it is the default value
+ // Value any
// how to arrange widgets
Direction Orientation