From 69a69547ffed37d73d0416103025e6b16f5cb19b Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Tue, 17 Mar 2026 10:51:53 +0300 Subject: Fix: streaming to tui --- tui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tui.go') 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). -- cgit v1.2.3