Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/TerminalView.java @ 23:cfcb8d9859a8 tn5250
adding tn5250 files
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 03 Jun 2014 11:37:06 -0700 |
parents | 0ce5cc452d02 |
children | 33eb63352be5 |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/TerminalView.java Tue Jun 03 10:40:11 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/TerminalView.java Tue Jun 03 11:37:06 2014 -0700 @@ -85,6 +85,8 @@ private Matcher mCodeMatcher = null; private AccessibilityEventSender mEventSender = null; + public static String android_home_directory = ""; + private static final String BACKSPACE_CODE = "\\x08\\x1b\\[K"; private static final String CONTROL_CODE_PATTERN = "\\x1b\\[K[^m]+[m|:]"; @@ -96,6 +98,7 @@ public TerminalView(Context context, TerminalBridge bridge) { super(context); + android_home_directory = context.getApplicationInfo().dataDir; this.context = context; this.bridge = bridge; paint = new Paint();