make windows compatible

This commit is contained in:
Axel Kohlmeyer
2022-01-30 16:47:17 -05:00
parent af8d1bd768
commit fea41d5458

View File

@ -1028,7 +1028,7 @@ std::vector<std::string> utils::split_words(const std::string &text)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
std::vector<std::string> utils::split_lines(const std::string &text) std::vector<std::string> utils::split_lines(const std::string &text)
{ {
return Tokenizer(text, "\n").as_vector(); return Tokenizer(text, "\r\n").as_vector();
} }
/* ---------------------------------------------------------------------- /* ----------------------------------------------------------------------