aboutsummaryrefslogtreecommitdiffstats
path: root/app/src
diff options
context:
space:
mode:
authorJeremy Klein <jlklein@google.com>2015-10-07 16:15:37 -0700
committerJeremy Klein <jlklein@google.com>2015-10-07 16:15:37 -0700
commit3bc0008484183ec0bcc9f598c052159cb48604a3 (patch)
tree3388740f6343aadaf80178cb222d3cfc539be0a8 /app/src
parentfde40fdcb62c764df90e889ae95e28b86ac5f746 (diff)
downloadconnectbot-3bc0008484183ec0bcc9f598c052159cb48604a3.tar.gz
connectbot-3bc0008484183ec0bcc9f598c052159cb48604a3.tar.bz2
connectbot-3bc0008484183ec0bcc9f598c052159cb48604a3.zip
Switch the default emulation mode to xterm-256color
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/org/connectbot/service/TerminalManager.java2
-rw-r--r--app/src/main/res/xml/preferences.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/org/connectbot/service/TerminalManager.java b/app/src/main/java/org/connectbot/service/TerminalManager.java
index 88c0811..e716094 100644
--- a/app/src/main/java/org/connectbot/service/TerminalManager.java
+++ b/app/src/main/java/org/connectbot/service/TerminalManager.java
@@ -257,7 +257,7 @@ public class TerminalManager extends Service implements BridgeDisconnectedListen
}
public String getEmulation() {
- return prefs.getString(PreferenceConstants.EMULATION, "screen");
+ return prefs.getString(PreferenceConstants.EMULATION, "xterm-256color");
}
public int getScrollback() {
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index d1801c5..88b9855 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -50,7 +50,7 @@
android:summary="@string/pref_emulation_summary"
android:entries="@array/list_emulation_modes"
android:entryValues="@array/list_emulation_modes"
- android:defaultValue="screen"
+ android:defaultValue="xterm-256color"
/>
<EditTextPreference