summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
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