Add webassembly support

This commit is contained in:
ArthurSonzogni
2021-03-21 22:54:39 +01:00
parent 65c0297789
commit cac94439ff
35 changed files with 267 additions and 47 deletions

View File

@@ -6,6 +6,7 @@ using namespace ftxui;
using namespace ftxui;
std::string rotate(std::string str) {
str.erase(std::remove(str.begin(), str.end(), '\r'), str.end());
str.erase(std::remove(str.begin(), str.end(), '\n'), str.end());
return str;
}