Skip to content

Commit

Permalink
Merge pull request #2640 from Tyriar/reset_fix
Browse files Browse the repository at this point in the history
Move back to reseting parser only on RIS
  • Loading branch information
Tyriar authored Dec 19, 2019
2 parents 71a78cb + 15e3173 commit f1e01c7
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 f1e01c7

Please sign in to comment.