Fix windows warning. (#332)

This commit is contained in:
Arthur Sonzogni
2022-02-13 10:51:47 +01:00
committed by GitHub
parent 8ba3698437
commit 62747a49b6
6 changed files with 6 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
int main(int argc, const char* argv[]) {
using namespace ftxui;
auto make_box = [](size_t dimx, size_t dimy) {
auto make_box = [](int dimx, int dimy) {
std::string title = std::to_string(dimx) + "x" + std::to_string(dimy);
return window(text(title) | hcenter | bold,
text("content") | hcenter | dim) |