On Wednesday, 3 June 2020 at 18:23:51 UTC, BoQsc wrote:
Here you can see ". hahahahahahaha" and "nononono" and even lineNumber is being merged into the same position. Why is this happening and can this be simply resolved?

Your string in "line" has a carriage return character at the end, which moves the cursor to the beginning of the display row.

If you remove this trailing carriage return character (0x0D) it will display correctly.

With the carriage return character in place, everything written to your terminal after the carriage return starts at the beginning of the row.

Reply via email to