summaryrefslogtreecommitdiff
path: root/toolkit/gocui/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-06 00:13:28 -0500
committerJeff Carr <[email protected]>2023-04-06 00:13:28 -0500
commit47bf784b59f922ef7446763bc3ac58f8c5bb4d02 (patch)
tree8d74c24b9e76da99cbc24c7ee7886f82dbf32453 /toolkit/gocui/structs.go
parentf4fb690172c07d426ed32932f07f57af1d688fa0 (diff)
gocui: more size calculations
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/structs.go')
-rw-r--r--toolkit/gocui/structs.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/toolkit/gocui/structs.go b/toolkit/gocui/structs.go
index 62a481f..106e719 100644
--- a/toolkit/gocui/structs.go
+++ b/toolkit/gocui/structs.go
@@ -31,7 +31,14 @@ type config struct {
defaultBehavior bool
defaultWidth int
defaultHeight int
- nextW int // where the next window or tab flag should go
+ // nextW int // where the next window or tab flag should go
+
+ padW int
+ padH int
+
+ // where the raw corner is
+ rawW int
+ rawH int
bookshelf bool // do you want things arranged in the box like a bookshelf or a stack?
canvas bool // if set to true, the windows are a raw canvas