Skip to content

Commit 6b5f464

Browse files
author
angelozerr
committed
Fix error with interpretor processor
1 parent 5c7f96e commit 6b5f464

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eclipse/terminal/ts.eclipse.ide.terminal.interpreter/src/ts/eclipse/ide/terminal/interpreter/internal/CommandInterpreterProcessor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ public void onContentReadFromStream(byte[] byteBuffer, int bytesRead) {
102102
// retrieve the character used for line input ('>'
103103
// for Windows, '$' for Linux)
104104
this.workingDirEnd = lineInput.substring(originalWorkingDir.length(), lineInput.length());
105+
} else {
106+
lineInput = null;
105107
}
106108
}
107109
} else {

0 commit comments

Comments
 (0)