summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 03:33:27 -0600
committerJeff Carr <[email protected]>2025-02-06 03:33:27 -0600
commit96cb52f3efdf16d966a7913db1cd4c9800da049f (patch)
tree3f741306a794df2a8bb1ede7bb6cf74ff38d8958 /structs.go
parent9c548faedacfdfbda09d170c6665fcdb988bd877 (diff)
stdout window hides on startup
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/structs.go b/structs.go
index 6cd9b30..9deb246 100644
--- a/structs.go
+++ b/structs.go
@@ -79,10 +79,11 @@ type stdout struct {
outputOffscreen bool // is the STDOUT window offscreen?
// offscreenW int // where to place the window offscreen
// offscreenH int // where to place the window offscreen
- lastW int // the last 'w' location (used to move from offscreen to onscreen)
- lastH int // the last 'h' location (used to move from offscreen to onscreen)
- mouseOffsetW int // the current 'w' offset
- mouseOffsetH int // the current 'h' offset
+ lastW int // the last 'w' location (used to move from offscreen to onscreen)
+ lastH int // the last 'h' location (used to move from offscreen to onscreen)
+ mouseOffsetW int // the current 'w' offset
+ mouseOffsetH int // the current 'h' offset
+ init bool // moves the window offscreen on startup
}
// this is the gocui way