support or devices that do not have a trackball or enter button.
diff --git a/common.h b/common.h
index 594f6d6..81d9029 100644
--- a/common.h
+++ b/common.h
@@ -39,7 +39,7 @@
// Display some header text followed by a menu of items, which appears
// at the top of the screen (in place of any scrolling ui_print()
// output, if necessary).
-void ui_start_menu(char** headers, char** items);
+int ui_start_menu(char** headers, char** items);
// Set the menu highlight to the given index, and return it (capped to
// the range [0..numitems).
int ui_menu_select(int sel);