diff options
| author | Jeff Carr <[email protected]> | 2025-09-09 04:51:14 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-09 04:51:14 -0500 | 
| commit | c6320e781f9296493b1cf000690b51d8a207a605 (patch) | |
| tree | 83ac99fab0facaf88d939931045ea363bd2491b3 | |
| parent | ec31997bca317fae2d83cfdea8bd1fcdbe76be93 (diff) | |
| -rw-r--r-- | argv.go | 28 | ||||
| -rw-r--r-- | init.go | 2 | 
2 files changed, 4 insertions, 26 deletions
@@ -2,30 +2,8 @@ package gui  var argGui ArgsGui -/* -This struct can be used with the go-arg package. These -are the generic default command line arguments for the 'GUI' package -*/ +// these go-arg commands have been moved to go.wit.com/lib/gui/prep  type ArgsGui struct { -	// NoGui     bool   `arg:"--no-gui"           help:"ignore all these gui problems"` -	GuiPlugin string `arg:"--gui"              help:"Use this gui toolkit [andlabs,gocui,nocui,stdin]"` -	GuiFile   string `arg:"--gui-file"         help:"Use a specific plugin.so file"` -	// GuiBuild  bool   `arg:"--gui-build"        help:"attempt to build the GUI plugins"` -	// GuiVerbose bool   `arg:"--gui-verbose"      help:"enable all logging"` -} - -/* -used for command line options. -This allows you to control the toolkit settings from the command line - -	--debugger      # opens the debugger -	--gui andlabs   # loads the GTK toolkit on linux or Cocoa on mac -	--gui gocui     # runs your program in the terminal in ncurses-like mode -*/ -func ArgToolkit() string { -	return argGui.GuiPlugin -} - -func InitArg() { -	// arg.Register(&argGui) +	GuiPlugin string +	GuiFile   string  } @@ -48,7 +48,7 @@ func colorBanner() {  	if version == "" {  		log.Warn("Warning: compiled without version", err)  	} -	time.Sleep(3200 * time.Millisecond) // done for effect +	time.Sleep(1200 * time.Millisecond) // done for effect  }  // what genius figured this out?  | 
