@openxiaobu/codexl 0.1.10 → 0.1.11
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/dist/cli.js +6 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -125,10 +125,12 @@ async function handleInteractiveToggle() {
|
|
|
125
125
|
return;
|
|
126
126
|
}
|
|
127
127
|
if (key.name === "return" || key.name === "enter") {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
if (changed) {
|
|
129
|
+
applyChanges();
|
|
130
|
+
changed = false;
|
|
131
|
+
render();
|
|
132
|
+
console.log("\n已保存账号启用状态变更(按 q 退出)。");
|
|
133
|
+
}
|
|
132
134
|
return;
|
|
133
135
|
}
|
|
134
136
|
if (key.name === "q" || (key.ctrl && key.name === "c")) {
|