Make lineFeed event lowercase

Fixes #1159
This commit is contained in:
Daniel Imms
2017-12-19 13:25:26 -08:00
parent eeda380b67
commit aaf0991195
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ declare var define: any;
// space. This is certainly not without its problems, but generally on
// Windows when text reaches the end of the terminal it's likely going to be
// wrapped.
this.on('lineFeed', () => {
this.on('linefeed', () => {
const line = this.buffer.lines.get(this.buffer.ybase + this.buffer.y - 1);
const lastChar = line[this.cols - 1];
if (lastChar[3] !== 32 /* ' ' */) {