新增: skills 视图与标题编辑测试(未落库功能批量入库)
This commit is contained in:
+5
-1
@@ -56,7 +56,7 @@ func (m *Model) renderWorkspace() string {
|
||||
|
||||
func (m *Model) tabsColumnLines(w, listH int) []string {
|
||||
var lines []string
|
||||
total := len(Groups) + 1
|
||||
total := len(Groups) + 2 // groups + 历史对话 + 技能
|
||||
start, end := viewport(m.wsTabCur, total, listH)
|
||||
|
||||
focused := m.wsFocus == 0
|
||||
@@ -66,6 +66,10 @@ func (m *Model) tabsColumnLines(w, listH int) []string {
|
||||
renderNavEntry(&lines, w, "历史对话", "#7dcfff", m.wsTabCur == i, focused)
|
||||
continue
|
||||
}
|
||||
if i == len(Groups)+1 {
|
||||
renderNavEntry(&lines, w, "技能", "#7aa2f7", m.wsTabCur == i, focused)
|
||||
continue
|
||||
}
|
||||
|
||||
g := Groups[i]
|
||||
label := g.Label
|
||||
|
||||
Reference in New Issue
Block a user