diff --git a/core/client.js b/core/client.js index 27c24a61..b99593b9 100644 --- a/core/client.js +++ b/core/client.js @@ -294,6 +294,8 @@ function Client(input, output) { buf = buf.concat(data.split('')); // remainder + console.log(buf) + buf.forEach(function bufPart(s) { var key = { seq : s, diff --git a/core/multi_line_edit_text_view2.js b/core/multi_line_edit_text_view2.js index 1860ab7d..1502233f 100644 --- a/core/multi_line_edit_text_view2.js +++ b/core/multi_line_edit_text_view2.js @@ -459,7 +459,7 @@ MultiLineEditTextView2.prototype.onKeyPress = function(ch, key) { } if(!handled) { - MultiLineEditTextView2.super_.prototype.onSpecialKeyPress.call(this, key.name); + MultiLineEditTextView2.super_.prototype.onKeyPress.call(this, ch, key); } };