diff options
| author | adamdottv <[email protected]> | 2025-06-13 09:19:51 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-06-13 09:19:51 -0500 |
| commit | 38667682a7c89145e81ad12860f51ac9f554f87e (patch) | |
| tree | d0340d52853a2035191833b2bb531e7137fc55c5 /packages/tui/internal/layout | |
| parent | d7d5fc39fb6a4a1656664f471b064118d3a14d79 (diff) | |
| download | opencode-38667682a7c89145e81ad12860f51ac9f554f87e.tar.gz opencode-38667682a7c89145e81ad12860f51ac9f554f87e.zip | |
wip: refactoring tui
Diffstat (limited to 'packages/tui/internal/layout')
| -rw-r--r-- | packages/tui/internal/layout/layout.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/tui/internal/layout/layout.go b/packages/tui/internal/layout/layout.go index b49913bde..b3afc5cc7 100644 --- a/packages/tui/internal/layout/layout.go +++ b/packages/tui/internal/layout/layout.go @@ -11,7 +11,6 @@ var Current *LayoutInfo func init() { Current = &LayoutInfo{ - Size: LayoutSizeNormal, Viewport: Dimensions{Width: 80, Height: 25}, Container: Dimensions{Width: 80, Height: 25}, } @@ -19,19 +18,12 @@ func init() { type LayoutSize string -const ( - LayoutSizeSmall LayoutSize = "small" - LayoutSizeNormal LayoutSize = "normal" - LayoutSizeLarge LayoutSize = "large" -) - type Dimensions struct { Width int Height int } type LayoutInfo struct { - Size LayoutSize Viewport Dimensions Container Dimensions } |
