We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f8e9b6f + 9595810 commit 2defa7cCopy full SHA for 2defa7c
repl.js
@@ -370,6 +370,10 @@ class InputBuffer {
370
}
371
return buffer.split(this.lineEnding);
372
373
+
374
+ getPointerPosition() {
375
+ return this._pointer;
376
+ }
377
378
379
export class REPL {
@@ -537,7 +541,7 @@ export class REPL {
537
541
if (this._rawByteCount >= 2) {
538
542
while (bytes.length > 0) {
539
543
if (this._checkpointCount == 0) {
540
- if (bytes.slice(0, 2).match("OK") || bytes.slice(0, 3).match(">OK")) {
544
+ if (bytes.slice(0, 2).match("OK")) {
545
this._checkpointCount++;
546
bytes = bytes.slice(2);
547
} else if (bytes.slice(0, 2).match("ra")) {
0 commit comments