pty-manager 1.2.18 → 1.2.19

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.mjs CHANGED
@@ -746,7 +746,7 @@ var PTYSession = class extends EventEmitter {
746
746
  const ruleKey = `${rule.pattern.source}:${rule.pattern.flags}`;
747
747
  this._firedOnceRules.add(ruleKey);
748
748
  }
749
- this.outputBuffer = this.outputBuffer.replace(rule.pattern, "");
749
+ this.outputBuffer = "";
750
750
  const promptInfo = {
751
751
  type: rule.type,
752
752
  prompt: rule.description,