Properly reset buffer after Terminal.reset

This commit is contained in:
Daniel Imms
2019-06-08 21:39:10 -07:00
parent f49daf02a3
commit 1b07a03b2f
4 changed files with 11 additions and 4 deletions
+1
View File
@@ -1893,6 +1893,7 @@ export class Terminal extends EventEmitter implements ITerminal, IDisposable, II
const userScrolling = this._userScrolling;
this._setup();
this._bufferService.reset();
// reattach
this._customKeyEventHandler = customKeyEventHandler;