diff options
Diffstat (limited to 'eventMouse.go')
| -rw-r--r-- | eventMouse.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eventMouse.go b/eventMouse.go index 92e09eb..3a5e0a6 100644 --- a/eventMouse.go +++ b/eventMouse.go @@ -125,9 +125,14 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error { maxX, _ := g.Size() - findUnderMouse() + // why was this here? + // findUnderMouse() - msg := fmt.Sprintf("mouseDown() Mouse really down at: %d,%d", mx, my) + // TODO: USE THIS TO MAKE TEMPORARY HELP / INSTRUCTION DIALOGS + + // this message will pop up when you click on the magic thing + // figure out how this works and make it generically useful. + msg := fmt.Sprintf("This is -222 widget demo. %d,%d", mx, my) // dropdownClicked(mx, my) x := mx - len(msg)/2 if x < 0 { |
