JoeStrout / miniscript

source code of both C# and C++ implementations of the MiniScript scripting language
MIT License
275 stars 64 forks source link

[C++] `file.readLines()` handles LF CR sep instead of CR LF #156

Open marcgurevitx opened 2 months ago

marcgurevitx commented 2 months ago
f = file.open("1.txt", "w")
f.write "a" + char(13) + char(10) + "b" + char(13) + char(10)
f.close
print file.readLines("1.txt")  // prints: ["a", "", "b", ""]