summaryrefslogtreecommitdiff
path: root/stdoutShow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-01 16:50:01 -0600
committerJeff Carr <[email protected]>2025-02-01 16:50:01 -0600
commit4dad2345323d2a3fce03cf8ce6d78a967856a22f (patch)
tree5962ecd8e1f641923707e5c5269d131ac3dcc032 /stdoutShow.go
parent3d5ee3f89b73dd5ba0d78a0b0d816fe96ed9f8a0 (diff)
start working on movingMsg
Diffstat (limited to 'stdoutShow.go')
-rw-r--r--stdoutShow.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/stdoutShow.go b/stdoutShow.go
index 0d8b360..4ae6247 100644
--- a/stdoutShow.go
+++ b/stdoutShow.go
@@ -16,17 +16,6 @@ import (
var outputW int = 180
var outputH int = 40
-func moveMsg(g *gocui.Gui) {
- mx, my := g.MousePosition()
- if !movingMsg && (mx != initialMouseX || my != initialMouseY) {
- movingMsg = true
- }
- g.SetView("msg", mx-xOffset, my-yOffset, mx-xOffset+outputW, my-yOffset+outputH+me.FramePadH, 0)
- me.startOutputW = mx - xOffset
- me.startOutputH = my - yOffset
- g.SetViewOnBottom("msg")
-}
-
func showMsg(g *gocui.Gui, v *gocui.View) error {
var l string
var err error