#include <string>
#include <vector>
int main() {
std::vector<std::string> radiobox_list = {
"Use gcc",
"Use clang",
"Use emscripten",
"Use tcc",
};
int selected = 0;
auto screen = ScreenInteractive::TerminalOutput();
screen.Loop(
Radiobox(&radiobox_list, &selected));
return 0;
}
Component Radiobox(RadioboxOption options)
A list of element, where only one can be selected.