open-agents-ai 0.184.95 → 0.184.96
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 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -62584,6 +62584,14 @@ var init_direct_input = __esm({
|
|
|
62584
62584
|
if (code === 27) {
|
|
62585
62585
|
const remaining = this._buffer.slice(i);
|
|
62586
62586
|
if (remaining.length >= 2 && remaining[1] === "[") {
|
|
62587
|
+
const mouseMatch = remaining.match(/^\x1B\[<(\d+);(\d+);(\d+)([Mm])/);
|
|
62588
|
+
if (mouseMatch) {
|
|
62589
|
+
i += mouseMatch[0].length;
|
|
62590
|
+
continue;
|
|
62591
|
+
}
|
|
62592
|
+
if (remaining.startsWith("\x1B[<") && remaining.length < 15) {
|
|
62593
|
+
break;
|
|
62594
|
+
}
|
|
62587
62595
|
const csiMatch = remaining.match(/^\x1B\[([0-9;]*)([A-Za-z~])/);
|
|
62588
62596
|
if (csiMatch) {
|
|
62589
62597
|
this._handleCSI(csiMatch[1], csiMatch[2]);
|
package/package.json
CHANGED