summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 15:19:39 -0600
committerJeff Carr <[email protected]>2025-02-06 15:19:39 -0600
commit5bae8b7e41fc17a5020f4c8e58695ae59063cda4 (patch)
tree1a944d25fb72a8b9c63ad438a4535ee69c08b98a /structs.go
parent93e87a05c7220f1a8dd7ac2e8dc43b123f6e0f71 (diff)
fixed window title string length
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/structs.go b/structs.go
index e57c69a..f444e65 100644
--- a/structs.go
+++ b/structs.go
@@ -128,6 +128,7 @@ type window struct {
active bool // means this window is the active one
isBG bool // means this is the background widget. There is only one of these
order int // what level the window is on
+ resize bool // only set the title once
}
type guiWidget struct {
@@ -154,7 +155,6 @@ type guiWidget struct {
force rectType // force widget within these boundries (using this to debug window dragging)
startW int // ?
startH int // ?
- isCurrent bool // is this the currently displayed Window or Tab?
isFake bool // widget types like 'box' are 'false'
widths map[int]int // how tall each row in the grid is
heights map[int]int // how wide each column in the grid is
@@ -162,8 +162,8 @@ type guiWidget struct {
frame bool // ?
selectedTab *tree.Node // for a window, this is currently selected tab
color *colorT // what color to use
- resize bool // the window is currently being resized
- isBG bool // means this is the background widget. There is only one of these
+ // resize bool // the window is currently being resized
+ isBG bool // means this is the background widget. There is only one of these
}
// from the gocui devs: