summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-17 10:51:53 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-17 10:52:42 +0300
commit69a69547ffed37d73d0416103025e6b16f5cb19b (patch)
tree790e6cbac9fb7317a8909909db424fa763dd01e5 /tui.go
parent326a1a4d094c6349e0403d479384347c52964537 (diff)
Fix: streaming to tuiHEADmaster
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui.go b/tui.go
index 9f85a15..7f897e4 100644
--- a/tui.go
+++ b/tui.go
@@ -230,7 +230,6 @@ func initTUI() {
tview.Styles = colorschemes["default"]
app = tview.NewApplication()
pages = tview.NewPages()
- outputHandler = &TUIOutputHandler{tv: textView}
shellInput = tview.NewInputField().
SetLabel(fmt.Sprintf("[%s]$ ", cfg.FilePickerDir)). // dynamic prompt
SetFieldWidth(0).
@@ -349,6 +348,7 @@ func initTUI() {
// calling it explicitly makes text streaming to look more smooth
app.Draw()
})
+ outputHandler = &TUIOutputHandler{tv: textView}
notificationWidget = tview.NewTextView().
SetTextAlign(tview.AlignCenter).
SetDynamicColors(true).