diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 02:40:44 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 02:40:44 -0600 |
| commit | 88e9594b9304aa8be7c1b766d54bb07979201a66 (patch) | |
| tree | 41f6f3d290be1fdf62b1d0d89715d6351c8abbe0 /eventBindings.go | |
| parent | 3faacd6c43e451847af8143a0c58bfd95535478d (diff) | |
removing old crappy code finally
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eventBindings.go b/eventBindings.go index 157902f..3633ca7 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -100,11 +100,11 @@ func theNotsure(g *gocui.Gui, v *gocui.View) error { } func theStdout(g *gocui.Gui, v *gocui.View) error { - if me.outputOnTop { - me.outputOnTop = false + if me.stdout.outputOnTop { + me.stdout.outputOnTop = false me.baseGui.SetViewOnBottom("msg") } else { - me.outputOnTop = true + me.stdout.outputOnTop = true me.baseGui.SetViewOnTop("msg") } return nil |
