diff options
| author | Jeff Carr <[email protected]> | 2023-04-06 00:13:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-06 00:13:28 -0500 |
| commit | 47bf784b59f922ef7446763bc3ac58f8c5bb4d02 (patch) | |
| tree | 8d74c24b9e76da99cbc24c7ee7886f82dbf32453 /toolkit/gocui/structs.go | |
| parent | f4fb690172c07d426ed32932f07f57af1d688fa0 (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.go | 9 |
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 |
