Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-05-23 05:36:55 -0400
committerUwe Stieber2014-05-23 05:36:55 -0400
commit8593c0a1ba3316a067b32f2d1dd89cdb216c937a (patch)
tree3b0de9b186fdfb1aa9444c0c25a6d17bdfa685ef
parentcb6022f9d3768c0817092c9b49c11b299ef41ce4 (diff)
downloadorg.eclipse.tcf-8593c0a1ba3316a067b32f2d1dd89cdb216c937a.tar.gz
org.eclipse.tcf-8593c0a1ba3316a067b32f2d1dd89cdb216c937a.tar.xz
org.eclipse.tcf-8593c0a1ba3316a067b32f2d1dd89cdb216c937a.zip
Target Explorer: Fix internal terminal puts prompt cursor onto a
separate line
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java
index f1729531e..f4c9d97a5 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.process/src/org/eclipse/tcf/te/ui/terminals/process/ProcessConnector.java
@@ -164,7 +164,7 @@ public class ProcessConnector extends AbstractStreamsConnector {
}
String lineSeparator = settings.getLineSeparator();
- if (lineSeparator == null) {
+ if (lineSeparator == null && pty == null) {
lineSeparator = System.getProperty("line.separator"); //$NON-NLS-1$
if ("\r".equals(lineSeparator)) { //$NON-NLS-1$
lineSeparator = ILineSeparatorConstants.LINE_SEPARATOR_CR;

Back to the top