summaryrefslogtreecommitdiff
path: root/eventMouseDrag.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-25 07:27:37 -0500
committerJeff Carr <[email protected]>2025-03-25 13:17:00 -0500
commit1552eedc185e85b46498898e68867afaef308301 (patch)
tree8fc5cdfbc77cde184842197b2cde5cce8d85d34b /eventMouseDrag.go
parent4523eda0fa2372d97fb5db800b79b53c218ef627 (diff)
save the output window state
Diffstat (limited to 'eventMouseDrag.go')
-rw-r--r--eventMouseDrag.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/eventMouseDrag.go b/eventMouseDrag.go
index 5559fac..62aa916 100644
--- a/eventMouseDrag.go
+++ b/eventMouseDrag.go
@@ -48,6 +48,7 @@ func mouseMove(g *gocui.Gui) {
// old hack. create the 'msg' view if it does not yet exist
// TODO: put this somewhere more correct
if widgetView, _ := g.View("msg"); widgetView == nil {
+ me.stdout.changed = true
if createStdout(g) {
return
}
@@ -138,5 +139,6 @@ func (tk *guiWidget) moveNew() {
// log.Info("Resize false", w, h, newW, newH)
}
setThingsOnTop() // sets help, Stdout, etc on the top after windows have been redrawn
+ me.stdout.changed = true
}
}