diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 03:33:27 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 03:33:27 -0600 |
| commit | 96cb52f3efdf16d966a7913db1cd4c9800da049f (patch) | |
| tree | 3f741306a794df2a8bb1ede7bb6cf74ff38d8958 /structs.go | |
| parent | 9c548faedacfdfbda09d170c6665fcdb988bd877 (diff) | |
stdout window hides on startup
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |
