aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Klein <jklein24@gmail.com>2015-10-15 14:28:37 -0700
committerJeremy Klein <jklein24@gmail.com>2015-10-15 14:28:37 -0700
commit0ac3863bd01780c1fa6336b42468b14e950aaf45 (patch)
treeff13dbe4e76c4e34e706abf29274cf0416ebe0a3
parent91424dbb94766ddaa013c090dfa4b74107aca6fd (diff)
parent5614be458290ef5bf92a038d28f949f9eea6e865 (diff)
downloadconnectbot-0ac3863bd01780c1fa6336b42468b14e950aaf45.tar.gz
connectbot-0ac3863bd01780c1fa6336b42468b14e950aaf45.tar.bz2
connectbot-0ac3863bd01780c1fa6336b42468b14e950aaf45.zip
Merge pull request #298 from rhansby/prevent-cursor-in-terminal-text
Prevent a cursor being displayed within terminal text.
-rw-r--r--app/src/main/java/org/connectbot/util/TerminalTextViewOverlay.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/org/connectbot/util/TerminalTextViewOverlay.java b/app/src/main/java/org/connectbot/util/TerminalTextViewOverlay.java
index a00ab47..6ceb64d 100644
--- a/app/src/main/java/org/connectbot/util/TerminalTextViewOverlay.java
+++ b/app/src/main/java/org/connectbot/util/TerminalTextViewOverlay.java
@@ -329,7 +329,8 @@ public class TerminalTextViewOverlay extends TextView {
@Override
public boolean onCheckIsTextEditor() {
- return true;
+ // This prevents a cursor being displayed within the text.
+ return false;
}
@Override