diff options
| author | Jeff Carr <[email protected]> | 2025-01-31 22:56:05 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-31 22:56:05 -0600 |
| commit | a8a918655a4831c3682730fdf7fe54de98837681 (patch) | |
| tree | 2978c0bfe27cd5fa8056c91f82cfb7277110e74a /eventMouse.go | |
| parent | 39e851c76c3154390e7835e995b8aad7638d5e73 (diff) | |
add keypress '2' as a debugging tool
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 { |
