On Monday, 27 April 2015 at 02:30:36 UTC, Vladimir Panteleev
wrote:
On Monday, 27 April 2015 at 02:26:01 UTC, Israel wrote:
I remember doing this in C++ and it worked but is this
possible in D?
Its basically updating information in the console window
without constantly printing new lines.
http://stackoverflow.com/questions/14043148/how-to-change-text-while-running-the-console
write(info, "\r"); stdout.flush();
E.g. with percent:
writef("%d%%\r", current * 100 / total); stdout.flush();
Thank you guys it works. Even with the percent sign.
write(sumincrease, "%", "\r"); stdout.flush();