Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move space in prompt causing bad formatting in single line mode #285

Closed
wants to merge 2 commits into from

Conversation

speyejack
Copy link
Contributor

@speyejack speyejack commented Aug 11, 2021

By moving the space to the beginning, it fixes the virtualenv from
being badly formatted with first prompt line.

I'm not sure why the string trimming in _pure_print_prompt does not remove this space, however, it does seem to fix the problem with the single line formatting mentioned in #276. It also fixes the double spaced issue with virtualenv mentioned as well. I also briefly checked it with double new line formatting and I didn't noticed any issues.

By moving the space to the beginning, it fixes the virtualenv from
being badly formatted with first prompt line.
@edouard-lopez
Copy link
Member

Hello @speyejack,
Thank you for your patience, I'm resuming my work on pure. I will first focus on fixing the tests, before merging the existing request that touch to the codebase, to ensure we have no regression.

@edouard-lopez
Copy link
Member

/close in favour of #296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants