93 Replies
why is this adding so many tabs!?
it makes no since. this is super simple but broken
the new line somehow adds space chars equal to the number of chars before the line break
smells like a bug
what do you mean?
cannot reproduce that
yea
i am soo screwed
is that rider? maybe there's a setting for newline
possible. will check that out
that looks a lot like that the console (the tab, not the class) expects a
\r\n
but Console.WriteLine()
only writes a \n
for some reason.
\r
= CR = Carriage Return, moves the cursor back to the line start (as in x = 0, if u will)
\n
= NL = New Line, move to the next line (as in y + 1, if u will)
if u execute it from terminal/console outside of the IDE, does it work there as expected?The "some reason" is that their string contains "\n" -- they're only calling
Console.WriteLine
once
And seconded, this is exactly the output when you send "\n", but the terminal doesn't add an implicit "\r" with every "\n"oh right
Unknown Userβ’3w ago
Message Not Public
Sign In & Join Server To View
TeBeCo
REPL Result: Success
Console Output
Compile: 480.701ms | Execution: 30.757ms | React with β to remove this embed.
Unknown Userβ’3w ago
Message Not Public
Sign In & Join Server To View
TeBeCo
REPL Result: Success
Console Output
Compile: 506.782ms | Execution: 30.704ms | React with β to remove this embed.
Unknown Userβ’3w ago
Message Not Public
Sign In & Join Server To View