Closed PierreBtz closed 3 years ago
I'm experiencing the same sort of issue where multiple outputs creates a staircase effect as mentioned by the OP.
@PierreBtz - do you mind opening a PR with your fix? I would like to give it a shot but I dont have a lot of time at the moment
@AlecAivazis I opened #335
What operating system and terminal are you using?
macOS Big Sur 11.0.1 with iterm2
An example that showcases the bug.
When running this sample, one can see that after the prompt the cursor stays aligned with the previous prompt text:
What did you expect to see?
The cursor is going back to the beginning of the line.
I tracked the issue to PR #309. I re-ran the previous test by adding a call to
c.HorizontalAbsolute(0)
(like it's done for Windows) and confirmed this was fixing my issue.