CodeIgniter Forums
Problem with CLI progress complete's message - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: Problem with CLI progress complete's message (/thread-65592.html)



Problem with CLI progress complete's message - mixinix - 06-28-2016

Code:
CLI Progress, when it done shows message with repeated two characters from the end.

   [..........] 0% Completete

   Completete => .........tete

If I testing with changing the core (system/CLI/CLI.php):

   Done => Donene (....nene)

looks better if I added two spaces (line 536):
   
   fwrite(STDOUT, " {$percent}% Complete  ".PHP_EOL);
   
OS: Win8.1-x64 (console)



RE: Problem with CLI progress complete's message - kilishan - 06-29-2016

You're right. I'm seeing something slightly different when I do it, but it's not clearing the progress bar when it should, which definitely needs to be fixed.

Could you report this as an issue over at GitHub please? That makes it easier for us to find and fix later.

Thanks!