For its uses in TR, I think handling `\n` suffices but I'll test it on Windows sometime and fix it if it's broken.