Skip to content

Commit

Permalink
Merge pull request #1291 from Gunkkk/patch-3
Browse files Browse the repository at this point in the history
Update Shell.java
  • Loading branch information
kkevsekk1 authored Dec 4, 2024
2 parents 5f46f3a + c3db36f commit 97e786c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ private void onOutput(String str) {
while (true) {
i = str.indexOf("\n", start);
if (i > 0) {
onNewLine((mStringBuffer.toString() + str.substring(0, i - 1)).trim());
onNewLine((mStringBuffer.toString() + str.substring(start, i - 1)).trim()); // root_automator pares
mStringBuffer.delete(0, mStringBuffer.length());
} else {
if (start <= str.length() - 1) {
Expand Down

0 comments on commit 97e786c

Please sign in to comment.