agenticmail 0.3.7 → 0.3.8
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 +2 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3148,7 +3148,7 @@ ${orig.text || ""}`;
|
|
|
3148
3148
|
const top = c.dim(boxChar.tl + boxChar.h.repeat(width) + boxChar.tr);
|
|
3149
3149
|
const bot = c.dim(boxChar.bl + boxChar.h.repeat(width) + boxChar.br);
|
|
3150
3150
|
if (savedUp > 0) {
|
|
3151
|
-
process.stdout.write(`\x1B[${savedUp
|
|
3151
|
+
process.stdout.write(`\x1B[${savedUp}A\r\x1B[J`);
|
|
3152
3152
|
}
|
|
3153
3153
|
process.stdout.write(`${top}
|
|
3154
3154
|
`);
|
|
@@ -3167,8 +3167,7 @@ ${orig.text || ""}`;
|
|
|
3167
3167
|
const onKey = (_ch, key) => {
|
|
3168
3168
|
if (!key) return;
|
|
3169
3169
|
const eraseBox = () => {
|
|
3170
|
-
|
|
3171
|
-
process.stdout.write(`\x1B[${up}A\r\x1B[J`);
|
|
3170
|
+
process.stdout.write(`\x1B[${savedUp}A\r\x1B[J`);
|
|
3172
3171
|
};
|
|
3173
3172
|
if (key.name === "escape") {
|
|
3174
3173
|
process.stdin.removeListener("keypress", onKey);
|