summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/structs.go b/structs.go
index fcd04cf..c9337b1 100644
--- a/structs.go
+++ b/structs.go
@@ -116,11 +116,10 @@ type stdout struct {
disable bool // disable the stdout window. do not change os.Stdout & os.Stderr
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
- outputS []string // the buffer of all the output
- pager int // allows the user to page through the buffer
+ init bool // moves the window offscreen on startup
+ outputS []string // the buffer of all the output
+ pager int // allows the user to page through the buffer
+ changed bool // indicates the user has changed stdout. gocui should remember the state here
}
// settings for the dropdown window
@@ -241,6 +240,7 @@ type guiWidget struct {
color *colorT // what color to use
colorLast colorT // the last color the widget had
defaultColor *colorT // the default colors // TODO: make a function for this instead
+ isTable bool // is this a table?
}
// THIS IS GO COMPILER MAGIC