From 3faacd6c43e451847af8143a0c58bfd95535478d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 02:15:21 -0600 Subject: nicer help menu & stdout behavior --- structs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 163dd84..afc6f19 100644 --- a/structs.go +++ b/structs.go @@ -39,6 +39,8 @@ type config struct { startOutputW int // ? startOutputH int // ? helpLabel *gocui.View // ? + showHelp bool // toggle boolean for the help menu (deprecate?) + outputOnTop bool // is the STDOUT window on top? // dropdownV *guiWidget // this is a floating widget that we show whenever the user clicks on a dropdownW *guiWidget // grab the dropdown choices from this widget FramePadW int `default:"1" dense:"0"` // When the widget has a frame, like a button, it adds 2 lines runes on each side @@ -65,7 +67,6 @@ type config struct { margin bool // add space around the frames of windows writeMutex sync.Mutex // writeMutex protects writes to *guiWidget (it's global right now maybe) dtoggle bool // is a dropdown or combobox currently active? - showHelp bool // toggle boolean for the help menu (deprecate?) ecount int // counts how many mouse and keyboard events have occurred supermouse bool // prints out every widget found while you move the mouse around depth int // used for listWidgets() debugging -- cgit v1.2.3