Flush writer.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 6 Jan 2014 16:03:57 +0000 (17:03 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 6 Jan 2014 16:03:57 +0000 (17:03 +0100)
src/main/java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java

index 7a4869b..34e0716 100644 (file)
@@ -59,6 +59,7 @@ public class FailedDownloadsCommand implements Command {
                        downloadIndex++;
                }
                outputWriter.write("End of failed downloads.\n");
+               outputWriter.flush();
                return state.setLastFailedDownloads(new ArrayList<>(failedDownloads));
        }