fix up back button and menu toggling
diff --git a/ui.c b/ui.c
index 51df1fa..70ddc33 100644
--- a/ui.c
+++ b/ui.c
@@ -538,3 +538,7 @@
     key_queue_len = 0;
     pthread_mutex_unlock(&key_queue_mutex);
 }
+
+void ui_get_show_menu() {
+    return show_menu;
+}