[https://nim-lang.org/docs/streams.html#writeLine%2CStream%2Cvarargs%5Bstring%2C%5D](https://nim-lang.org/docs/streams.html#writeLine%2CStream%2Cvarargs%5Bstring%2C%5D)

"Writes one or more strings to the the stream s followed by a new line. No 
length field or terminating zero is written."

The newLine is added at the end, so you should do:
    
    
    contW.writeLine(new1)
    contW.writeLine(new2)
    contW.writeLine(new3)
    
    
    Run

Reply via email to