mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Add webassembly support
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user