]> git.proxmox.com Git - mirror_xterm.js.git/commit
Fix exception when resizing both dimensions
authorDaniel Imms <daimms@microsoft.com>
Tue, 8 Aug 2017 19:59:02 +0000 (12:59 -0700)
committerDaniel Imms <daimms@microsoft.com>
Tue, 8 Aug 2017 19:59:02 +0000 (12:59 -0700)
commitbb526aaa888685f613c89d64482af3d59925519c
tree28898841b33149910ad122b8bf63cf7c3c6c00b8
parenta28d9f145642e8ac97333327d4f409e1efb11077
Fix exception when resizing both dimensions

This happened because buffers now resize themselves but they were
relying on Terminal to give them a blank line. The blank line was
coming back with the old columns value, causing an NPE.

Fixes #860
src/Buffer.test.ts
src/Buffer.ts
src/Interfaces.ts
src/utils/TestUtils.ts
src/xterm.js