diff --git a/extraterm/src/render_process/emulator/Term.ts b/extraterm/src/render_process/emulator/Term.ts index 1cd169c5e..4a4e5be02 100644 --- a/extraterm/src/render_process/emulator/Term.ts +++ b/extraterm/src/render_process/emulator/Term.ts @@ -2328,19 +2328,18 @@ export class Emulator implements EmulatorApi { const newrows = Math.max(newSize.rows, 1); // resize cols - if (this.cols < newcols) { - for (let i = 0; i< this.lines.length; i++) { - const line = this.lines[i]; - const newLine = new LineImpl(newcols, 1); - newLine.pasteGrid(line, 0, 0); + for (let i = 0; i< this.lines.length; i++) { + const line = this.lines[i]; + const newLine = new LineImpl(newcols, 1); + newLine.pasteGrid(line, 0, 0); - for(let j=line.width; j