diff options
| -rw-r--r-- | main.go | 8 | ||||
| -rw-r--r-- | stdin.go | 5 |
2 files changed, 12 insertions, 1 deletions
@@ -40,14 +40,20 @@ func init() { showOptions() + go simpleStdin() + config.Set("width", 640) config.Set("height", 480) config.Set("glDrift", 0.01) // config.Set("filename", "planetfall.glsl") config.Set("filename", "seascape.glsl") + + // I think this doesn't work as a goroutine because + // opengl closes. This plugin probably has to wait + // until there is some sort of protobuf + socket interface + // instead of a plugin pixelgl.Run(run) - go simpleStdin() } // this must be defined for plugin's, but is never run @@ -18,6 +18,11 @@ import ( func showOptions() { fmt.Println("") fmt.Println("Enter:") + fmt.Println("") + fmt.Println("This doesn't work because it's stalled in the toolkit init()") + fmt.Println("opengl isn't happy if you try to run it as a goroutine and exits") + fmt.Println("maybe there is someone that actually knows what the are doing that can fix that") + fmt.Println("") fmt.Println("'l': list all widgets") fmt.Println("'b': for buttons") fmt.Println("'g': try opengl") |
