summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go19
1 files changed, 11 insertions, 8 deletions
diff --git a/structs.go b/structs.go
index 2a406be..6cd9b30 100644
--- a/structs.go
+++ b/structs.go
@@ -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