readline: handle input starting with control chars
authorEric Schrock <Eric.Schrock@delphix.com>
Mon, 20 May 2013 18:44:26 +0000 (14:44 -0400)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Mon, 23 Sep 2013 21:22:37 +0000 (14:22 -0700)
commit35ae69682253ea51e59610a9a9e132c78f5e71d5
tree24a3ba7bca10164da0ececd2222336af89dc2627
parent7c554a5cd0f1420e5017ef57252b3d3c6496cea0
readline: handle input starting with control chars

Handle control characters only when there is a single byte in the
stream, otherwise fall through to the standard multibyte handling.
lib/readline.js
test/simple/test-readline-interface.js