Only enable reflow on the normal buffer

This commit is contained in:
Daniel Imms
2018-12-28 14:55:58 -08:00
parent 2a0da173f2
commit 72369e060e
+1 -1
View File
@@ -234,7 +234,7 @@ export class Buffer implements IBuffer {
this.scrollBottom = newRows - 1;
if (this._terminal.options.experimentalBufferLineImpl === 'TypedArray') {
if (this.hasScrollback && this._terminal.options.experimentalBufferLineImpl === 'TypedArray') {
this._reflow(newCols);
// Trim the end of the line off if cols shrunk