changeset 110:8ac79084875b

add debugging for function keys
author Carl Byington <carl@five-ten-sg.com>
date Wed, 18 Jun 2014 12:50:20 -0700
parents 3ac62a543054
children 6a0ad4d384ea
files src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java	Wed Jun 18 12:48:06 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java	Wed Jun 18 12:50:20 2014 -0700
@@ -137,7 +137,7 @@
      * Modify the keys to make more sense to a host then pass it to the vt320.
      */
     public boolean onKey(View v, int keyCode, KeyEvent event) {
-        Log.d(TAG, "onKey with key %d", keyCode);
+        Log.d(TAG, String.format("onKey with key %d", keyCode));
         try {
             // skip keys if we aren't connected yet or have been disconnected
             if (bridge.isDisconnected()) return false;