Sync scroll bar after reset

Fixes #278
This commit is contained in:
Daniel Imms
2016-09-25 01:56:03 -07:00
parent 26fd963fbd
commit c8b194931f
+1
View File
@@ -3207,6 +3207,7 @@ Terminal.prototype.reset = function() {
Terminal.call(this, this.options);
this.customKeydownHandler = customKeydownHandler;
this.refresh(0, this.rows - 1);
this.viewport.syncScrollArea();
};