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.js CHANGED
@@ -784,7 +784,7 @@ var PTYSession = class extends import_events.EventEmitter {
784
784
  const ruleKey = `${rule.pattern.source}:${rule.pattern.flags}`;
785
785
  this._firedOnceRules.add(ruleKey);
786
786
  }
787
- this.outputBuffer = this.outputBuffer.replace(rule.pattern, "");
787
+ this.outputBuffer = "";
788
788
  const promptInfo = {
789
789
  type: rule.type,
790
790
  prompt: rule.description,