summaryrefslogtreecommitdiff
path: root/stdoutShow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 08:31:21 -0600
committerJeff Carr <[email protected]>2025-03-03 08:31:21 -0600
commit75014f4b284d3e88266c1ae319ee9bbdb86d3ad2 (patch)
treee7285307e91f4291d4361568ed1f89bd6ad9e1d6 /stdoutShow.go
parent9ef16c1bf2bfc1e00163b461779383c809efff9f (diff)
define a background widget more properly
Diffstat (limited to 'stdoutShow.go')
-rw-r--r--stdoutShow.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdoutShow.go b/stdoutShow.go
index 4bbf59a..fd71efc 100644
--- a/stdoutShow.go
+++ b/stdoutShow.go
@@ -115,8 +115,10 @@ func relocateStdoutOffscreen() {
if me.stdout.tk == nil {
return
}
- log.CaptureMode(me.stdout.tk)
- // log.Log(ERROR, "setting log.CaptureMode(tk.v) in relocateStdoutOffscreen()")
+ if !me.stdout.disable {
+ log.Info("Using gocui STDOUT")
+ log.CaptureMode(me.stdout.tk)
+ }
newW := 10
newH := 0 - me.stdout.h - 4
me.stdout.tk.relocateStdout(newW, newH)