Hi all, On 02/07/2017 15:56, Nolan Dyck wrote: > Thanks for the code snippit. I pasted it in, and it didn't work right > away. There's an extra space printed at the beginning of each line for > some reason, and I couldn't figure out where it was being printed. I > ended up just shortening the expected column width by 1 by adding the > next couple lines to the initialization function.
The progress bar requires a console which understands VT100 escape sequences, for these are the only way to get the bar to redraw reliably (everything else is somewhat fragile and liable to break). Windows has traditionally not supported such sequences, although it does appear as if the most recent builds of Windows 10 do. However, in order for them to function one needs to call into the Win32 API to enable them. See: <https://msdn.microsoft.com/en-us/library/windows/desktop/mt638032(v=vs.85).aspx> I'd be happy to take a patch that takes care of this (but it is important that this does not cause issues for those who are not yet on Windows 10 or running PyFR via other means). Regards, Freddie. -- You received this message because you are subscribed to the Google Groups "PyFR Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. Visit this group at https://groups.google.com/group/pyfrmailinglist. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
