diff --git a/source/dub/commandline.d b/source/dub/commandline.d index 93981f6..fe6bb5c 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -521,6 +521,8 @@ static string input(string caption, string default_value) { writef("%s [%s]: ", caption, default_value); + // Msys2 and mingw on Windows require this flush() + version (Windows) stdout.flush(); auto inp = readln(); return inp.length > 1 ? inp[0 .. $-1] : default_value; }