@@ -638,6 +638,7 @@ public:
*/
int choose(Door &door);
+ char which(int d);
static renderFunction makeRender(ANSIColor c1, ANSIColor c2, ANSIColor c3,
ANSIColor c4);
@@ -410,6 +410,8 @@ void Menu::addSelection(char c, const char *line) {
void Menu::defaultSelection(int d) { chosen = d; }
+char Menu::which(int d) { return options[d]; }
+
/*
void Menu::setColorizer(bool selected,
std::function<void(Door &d, std::string &)> colorizer)