diff options
author | Alex Kocharin <alex@kocharin.ru> | 2015-05-03 21:11:33 +0300 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2015-05-10 05:48:50 +0300 |
commit | aed6bce9064915bda28237b1a5fbf7fcdbf439ef (patch) | |
tree | 0196f43cfb6d416c79e569d1333c20c02822d896 /.eslintrc | |
parent | 64d3210c98acf1d991a413e0993e07886c9e90de (diff) |
readline: turn emitKeys into a streaming parser
In certain environments escape sequences could be splitted into
multiple chunks. For example, when user presses left arrow,
`\x1b[D` sequence could appear as two keypresses (`\x1b` + `[D`).
PR-URL: https://github.com/iojs/io.js/pull/1601
Fixes: https://github.com/iojs/io.js/issues/1403
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc index 7295f9cd1a1..8d93ac27382 100644 --- a/.eslintrc +++ b/.eslintrc @@ -7,6 +7,7 @@ ecmaFeatures: templateStrings: true octalLiterals: true binaryLiterals: true + generators: true rules: # Possible Errors |