readline: handle wide characters properly
authorNao Iizuka <iizuka@kyu-mu.net>
Sat, 16 Mar 2013 02:18:30 +0000 (16:18 -1000)
committerNathan Rajlich <nathan@tootallnate.net>
Sat, 16 Mar 2013 02:18:30 +0000 (16:18 -1000)
commit94284e7d2e558cc3f1a985460fb0cc6606133766
treef2718fd0c8887ea8efd9e926354148af4fc953b3
parentc0721bcd66829356950b58cc532d6e3d8bbfc641
readline: handle wide characters properly

Handle wide characters (such as あ, 谢, 고) as two column wide to make
cursor move properly.

Closes #555.
Closes #4994.
doc/api/readline.markdown
lib/readline.js
test/simple/test-readline-interface.js