@iola_adm/iola-cli 0.1.96 → 0.1.97
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/package.json +1 -1
- package/src/cli.js +6 -0
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -900,6 +900,7 @@ async function startAgentRawInput() {
|
|
|
900
900
|
} finally {
|
|
901
901
|
clearAgentInputArea(state);
|
|
902
902
|
clearAgentStatusBar(state);
|
|
903
|
+
finishAgentTerminalLine();
|
|
903
904
|
if (!wasRaw) input.setRawMode(false);
|
|
904
905
|
input.pause();
|
|
905
906
|
}
|
|
@@ -1424,6 +1425,11 @@ function clearAgentStatusBar(state) {
|
|
|
1424
1425
|
state.statusRows = 0;
|
|
1425
1426
|
}
|
|
1426
1427
|
|
|
1428
|
+
function finishAgentTerminalLine() {
|
|
1429
|
+
if (!output.isTTY) return;
|
|
1430
|
+
output.write("\r\x1b[0K\n");
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1427
1433
|
function startActivityIndicator(label = "работаю") {
|
|
1428
1434
|
const doneLabel = "готово";
|
|
1429
1435
|
if (!output.isTTY || process.env.NO_COLOR === "1") {
|