aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/org/connectbot/service/TerminalKeyListener.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/java/org/connectbot/service/TerminalKeyListener.java b/app/src/main/java/org/connectbot/service/TerminalKeyListener.java
index a30eba7..cba0efe 100644
--- a/app/src/main/java/org/connectbot/service/TerminalKeyListener.java
+++ b/app/src/main/java/org/connectbot/service/TerminalKeyListener.java
@@ -485,16 +485,16 @@ public class TerminalKeyListener implements OnKeyListener, OnSharedPreferenceCha
public void sendTab() {
try {
- bridge.transport.write(0x09);
- } catch (IOException e) {
- Log.e(TAG, "Problem while trying to send TAB press.", e);
+ bridge.transport.write(0x09);
+ } catch (IOException e) {
+ Log.e(TAG, "Problem while trying to send TAB press.", e);
try {
bridge.transport.flush();
} catch (IOException ioe) {
Log.d(TAG, "Our transport was closed, dispatching disconnect event");
bridge.dispatchDisconnect(false);
}
- }
+ }
}
/**