@lokiyou/pi-nano-footer 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +3 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -109,6 +109,9 @@ export default function (pi: ExtensionAPI) {
|
|
|
109
109
|
pi.on("session_start", async (_event, ctx) => {
|
|
110
110
|
thinkingLevel = pi.getThinkingLevel();
|
|
111
111
|
|
|
112
|
+
// 隐藏内置的 "Working..." 指示器,用输入框呼吸代替
|
|
113
|
+
ctx.ui.setWorkingVisible(false);
|
|
114
|
+
|
|
112
115
|
ctx.ui.setFooter((tui, theme, footerData) => {
|
|
113
116
|
requestRender = () => tui.requestRender();
|
|
114
117
|
const unsubBranch = footerData.onBranchChange(() => tui.requestRender());
|