Remove codecvt dependency. (#516)

This resolves:
https://github.com/ArthurSonzogni/FTXUI/issues/514
This commit is contained in:
Arthur Sonzogni (slow/sick)
2022-11-26 20:43:09 +01:00
committed by GitHub
parent 55b9706cfd
commit 05f29ff3b3
6 changed files with 201 additions and 71 deletions

View File

@@ -3,8 +3,9 @@
namespace ftxui {
// NOLINTNEXTLINE
Loop::Loop(ScreenInteractive* screen, Component component)
: screen_(screen), component_(component) {
: screen_(screen), component_(std::move(component)) {
screen_->PreMain();
}