CodeHS keeps creating new lines

I often have assignments where I am free to create anything I like on CodeHS. I enjoy making programs that utilize ASCII to create interactive visuals. However, CodeHS for some reason sometimes automatically creates a new line during execution. Obviously starting a new line in the middle of an ASCII drawing is a problem. I have done testing with the system time, and a new line is created every 49-51 milliseconds; the “50 millisecond clock” doesn’t necessarily start at 0 at execution. No other compiler does this. I’ve only tested this with java but I’m guessing the same problem happens with other languages. Does anyone know anything about this?

It’s not the language it’s the platform. CodeHs is a platform that makes things easier like no setup. If you were to setup your preferred language on your own computer it wouldn’t do that.