agent-mp 0.3.8 → 0.3.9
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/ui/input.js +2 -2
- package/package.json +1 -1
package/dist/ui/input.js
CHANGED
|
@@ -69,7 +69,7 @@ export class FixedInput {
|
|
|
69
69
|
/** Show or clear the status / spinner line above the input box. */
|
|
70
70
|
setStatus(text) {
|
|
71
71
|
this._statusText = text || '';
|
|
72
|
-
this.
|
|
72
|
+
this._drawBox();
|
|
73
73
|
}
|
|
74
74
|
suspend() {
|
|
75
75
|
console.log = this.origLog;
|
|
@@ -212,7 +212,7 @@ export class FixedInput {
|
|
|
212
212
|
const row = this.scrollBottom + 1;
|
|
213
213
|
process.stdout.write(`\x1b[${row};1H\x1b[2K`);
|
|
214
214
|
if (this._statusText) {
|
|
215
|
-
process.stdout.write(chalk.
|
|
215
|
+
process.stdout.write(chalk.rgb(0, 185, 180)(this._statusText));
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
/** Debounced draw: coalesces rapid calls (e.g. during paste) into a single repaint. */
|