diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-03-17 10:51:53 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-03-17 10:51:53 +0300 |
| commit | 3e4213b5c39a18424e6d117d7967b1e9919e3402 (patch) | |
| tree | 2543329a16b38f1cf93470de26e43bab286aca6c /tui.go | |
| parent | 451e6f0381afe37c59f12703f8750407c27ba94a (diff) | |
Fix: streaming to tui
Diffstat (limited to 'tui.go')
| -rw-r--r-- | tui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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). |
