It is a console issue. By default it has 80 character width and unconditionally breaks line when exceed that limit. You can manually change it in console window properties or google for WinAPI functions which can do this.
Also I heard that console was made more friendly in Windows10