From f2a61828aa402d3c12a98e24af0bed375ab4ed73 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Fri, 5 Jun 2015 16:37:17 -0600 Subject: [PATCH] * Small fix --- core/client.js | 2 ++ core/multi_line_edit_text_view2.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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); } };