Kaudaj / prestashop-maker

Boilerplate code generator for PrestaShop
Academic Free License v3.0
17 stars 4 forks source link

Buggy terminal after interrupting make command #4

Open tom-combet opened 2 years ago

tom-combet commented 2 years ago

Describe the bug Interrupting multiple-steps make commands leads to a broken terminal: input becomes invisible.

To Reproduce Steps to reproduce the behavior:

  1. Launch php bin/console make-to /path/to/project make:entity.
  2. Interrupt the process at the first step with CTRL + C.
  3. See that you can't see anymore what you're typing in the terminal.

Expected behavior We should be able to cancel the process without any bug.

Additional context Related to https://github.com/symfony/symfony/issues/44045.

tom-combet commented 2 years ago

Fixed for Unix in https://github.com/Kaudaj/prestashop-maker/commit/549a20326c9b17f10edbc53b3d23e36d5e92cc4f.

Only reproducible in Windows now. Can't find a way to fix it for the moment.