readline: use a "string_decoder" to parse "keypress" events
While updating the readline test cases to test both "terimal: false" and "terminal: true" mode, it turned out that the test case testing utf8 chars being sent over multiple write() calls was failing. The solution is to use a string_decoder instance when parsing the "keypress" events.
parent
e95e0952
Please register or sign in to comment