open-agents-ai 0.187.61 → 0.187.62
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/index.js +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -280423,7 +280423,14 @@ ${CONTENT_BG_SEQ}`);
|
|
|
280423
280423
|
origTtyWrite(s2, key);
|
|
280424
280424
|
return;
|
|
280425
280425
|
}
|
|
280426
|
-
if (
|
|
280426
|
+
if (key?.name === "return" || key?.name === "enter") {
|
|
280427
|
+
self2.termWrite("\x1B[?25l");
|
|
280428
|
+
origTtyWrite(s2, key);
|
|
280429
|
+
self2.updateFooterHeight();
|
|
280430
|
+
self2.renderFooterAndPositionInput();
|
|
280431
|
+
return;
|
|
280432
|
+
}
|
|
280433
|
+
if (self2.inputStateProvider && key?.name !== "backspace") {
|
|
280427
280434
|
const { line = "" } = self2.inputStateProvider() ?? {};
|
|
280428
280435
|
const w = getTermWidth();
|
|
280429
280436
|
const avail = Math.max(1, w - self2.promptWidth);
|
package/package.json
CHANGED