I may have fixed a bug in the terminal hacker source code?

Hi, so I just started the Udemy course and as I’m working through the basics of Terminal Hacker, I find that my terminal input and output lines are being segmented in a weird way:


Curious as to what was causing this, I opened up the forbidden DisplayBuffer.cs file to find the Wrap function (I think it’s a function), and after toying around with it, I found I could get the line-wrapping to work if I just commented out this segment:

Any thoughts as to why this is? I’m not nearly experienced enough with C# to understand how I fixed it, but fixed it I did. The terminal now wraps lines like this:

I’m having a lot of fun with the course so far!
-John

Privacy & Terms