summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go22
1 files changed, 10 insertions, 12 deletions
diff --git a/tui.go b/tui.go
index db7a62e..d07a545 100644
--- a/tui.go
+++ b/tui.go
@@ -25,19 +25,16 @@ var (
// sysModal *tview.Modal
indexPickWindow *tview.InputField
renameWindow *tview.InputField
- //
- longJobStatusCh = make(chan string, 1)
// pages
- historyPage = "historyPage"
- agentPage = "agentPage"
- editMsgPage = "editMsgPage"
- indexPage = "indexPage"
- helpPage = "helpPage"
- renamePage = "renamePage"
- RAGPage = "RAGPage "
- longStatusPage = "longStatusPage"
- propsPage = "propsPage"
- codeBlockPage = "codeBlockPage"
+ historyPage = "historyPage"
+ agentPage = "agentPage"
+ editMsgPage = "editMsgPage"
+ indexPage = "indexPage"
+ helpPage = "helpPage"
+ renamePage = "renamePage"
+ RAGPage = "RAGPage "
+ propsPage = "propsPage"
+ codeBlockPage = "codeBlockPage"
// help text
helpText = `
[yellow]Esc[white]: send msg
@@ -525,6 +522,7 @@ func init() {
}
cfg.APIMap[newAPI] = prevAPI
cfg.CurrentAPI = newAPI
+ initChunkParser()
updateStatusLine()
return nil
}