From 1552eedc185e85b46498898e68867afaef308301 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 25 Mar 2025 07:27:37 -0500 Subject: save the output window state --- eventMouseDrag.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'eventMouseDrag.go') 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 } } -- cgit v1.2.3