Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 175:2a7199ad90be
send cursor movement caused by user keystrokes to the monitor
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 02 Jul 2014 10:13:15 -0700 |
parents | b010f9dc801f |
children | 6e07ea418b90 |
comparison
equal
deleted
inserted
replaced
174:b010f9dc801f | 175:2a7199ad90be |
---|---|
422 } | 422 } |
423 | 423 |
424 public synchronized void depress(int vk_key) { | 424 public synchronized void depress(int vk_key) { |
425 Log.i(TAG, String.format("depress() %d", vk_key)); | 425 Log.i(TAG, String.format("depress() %d", vk_key)); |
426 Integer x = keymap.get(new Integer(vk_key)); | 426 Integer x = keymap.get(new Integer(vk_key)); |
427 if (x != null) buffer.keyPressed(x, ' ', 0); | 427 if (x != null) buffer.keyDepressed(x, ' ', 0); |
428 } | 428 } |
429 | 429 |
430 public synchronized void switchSession() { | 430 public synchronized void switchSession() { |
431 Log.i(TAG, "switchSession()"); | 431 Log.i(TAG, "switchSession()"); |
432 Intent intent = new Intent(parent, ConsoleActivity.class); | 432 Intent intent = new Intent(parent, ConsoleActivity.class); |