#include <memory>
#include <string>
int main(int argc, const char* argv[]) {
int value = 50;
button_option.border = false;
"[Decrease]", [&] { value--; }, &button_option),
"[Increase]", [&] { value++; }, &button_option),
});
auto component =
Renderer(buttons, [&] {
buttons->Render(),
}) |
});
screen.Loop(component);
return 0;
}