Skip to content

Commit

Permalink
Move back to reseting parser only on RIS
Browse files Browse the repository at this point in the history
Related #2637
  • Loading branch information
Tyriar committed Dec 19, 2019
1 parent 71a78cb commit 15e3173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InputHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2196,11 +2196,11 @@ export class InputHandler extends Disposable implements IInputHandler {
* Reset to initial state.
*/
public fullReset(): void {
this._parser.reset();
this._onRequestReset.fire();
}

public reset(): void {
this._parser.reset();
this._curAttrData = DEFAULT_ATTR_DATA.clone();
this._eraseAttrDataInternal = DEFAULT_ATTR_DATA.clone();
}
Expand Down

0 comments on commit 15e3173

Please sign in to comment.