#include #include "ftxui/dom/elements.hpp" namespace ftxui { Elements paragraph(std::wstring the_text) { Elements output; std::wstringstream ss(the_text); std::wstring word; while (std::getline(ss, word, L' ')) { output.push_back(text(word + L' ')); } return output; } } // namespace ftxui