PrettyPrompt
PrettyPrompt copied to clipboard
Invalid text wrapping
Suppose we have a console with a buffer of width 12. We have prompt 4 chars long (>>> ) so we should be able to write 8 characters per line.
Suppose we paste the following two lines inside:
12345678
12345678
The result:

There is one extra new line visible.
The problem is we wrap the line after first 8 chars and then we see \n which produces the extra line.