improve: support to customize the spinners (#2397)

This commit is contained in:
guanghechen
2025-07-02 18:54:41 +08:00
committed by GitHub
parent 8fde103734
commit 7aec52ff3e
5 changed files with 55 additions and 43 deletions

View File

@@ -396,6 +396,11 @@ _请参见 [config.lua#L9](./lua/avante/config.lua) 以获取完整配置_
align = "center", -- left, center, right 用于标题
rounded = true,
},
spinner = {
editing = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" },
generating = { "·", "", "", "", "", "" }, -- '生成中' 状态的旋转字符
thinking = { "🤯", "🙄" }, -- '思考中' 状态的旋转字符
},
input = {
prefix = "> ",
height = 8, -- 垂直布局中输入窗口的高度