From 5bae8b7e41fc17a5020f4c8e58695ae59063cda4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 15:19:39 -0600 Subject: fixed window title string length --- structs.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'structs.go') 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: -- cgit v1.2.3