diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 03:09:13 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 03:09:13 -0600 |
| commit | d2c3db7b58381a919fdf51d2f0a2264c6605ff99 (patch) | |
| tree | a24687a85e7f0d2b310fcf80cfbde3f3d4793559 /structs.go | |
| parent | d0e35bb98fde78d9d804ab68e11f3f4ef9bbc711 (diff) | |
more work on stdout settings
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -72,14 +72,17 @@ type config struct { // settings for the stdout window type stdout struct { - tk *guiWidget // where to show STDOUT - w int // the width - h int // the width - outputOnTop bool // is the STDOUT window on top? - offscreenW int // where to place the window offscreen - offscreenH int // where to place the window offscreen - offsetW int // the current 'w' offset - offsetH int // the current 'h' offset + tk *guiWidget // where to show STDOUT + w int // the width + h int // the width + outputOnTop bool // is the STDOUT window on top? + 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 } // this is the gocui way |
