diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/com/cyanogenmod/filemanager/console/shell/ShellConsole.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/filemanager/console/shell/ShellConsole.java b/src/com/cyanogenmod/filemanager/console/shell/ShellConsole.java index 1ecdc82..45f348b 100644 --- a/src/com/cyanogenmod/filemanager/console/shell/ShellConsole.java +++ b/src/com/cyanogenmod/filemanager/console/shell/ShellConsole.java @@ -654,6 +654,7 @@ public abstract class ShellConsole extends Console implements Program.ProgramLis this.mFinished = false; this.mNewData = false; this.mOut.write(sb.toString().getBytes()); + this.mOut.flush(); } } catch (InvalidCommandDefinitionException icdEx) { throw new CommandNotFoundException( @@ -1133,6 +1134,7 @@ public abstract class ShellConsole extends Console implements Program.ProgramLis //Test write something to the buffer this.mOut.write(FileHelper.NEWLINE.getBytes()); this.mOut.write(FileHelper.NEWLINE.getBytes()); + this.mOut.flush(); } catch (IOException ioex) { //Something is wrong with the buffers. Reallocate console. Log.w(TAG, |
