PrettyPrompt icon indicating copy to clipboard operation
PrettyPrompt copied to clipboard

Invalid text wrapping

Open kindermannhubert opened this issue 2 years ago • 0 comments

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: image

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.

kindermannhubert avatar Apr 16 '23 12:04 kindermannhubert