magmax / python-inquirer

A collection of common interactive command line user interfaces, based on Inquirer.js (https://github.com/SBoudrias/Inquirer.js/)
MIT License
997 stars 98 forks source link

New line printed every time option is selected #604

Closed YoussefEssalhi closed 1 month ago

YoussefEssalhi commented 1 month ago

Whenever I use the python-inquirer library in my project, it prints a new line every time I select an option. This behavior is unexpected as I expect the output to stay on the same line unless a new line is deliberately printed.

The Code :

image

The Output :

image

I Expect this output :

image

Cube707 commented 1 month ago

Hm, I can understand why you want to control this yourself. instead of it being decided for you. But this would be a breaking change that might affect existing projects in a bad way, so I am undecided if I want to change it

Cube707 commented 1 month ago

as shown in https://github.com/magmax/python-inquirer/pull/605#issuecomment-2230383997, this breaks to much existing behavior.