summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index 891d97e..415b547 100644
--- a/menu.c
+++ b/menu.c
@@ -168,3 +168,9 @@ static void menu_render(Ted *ted, Menu menu) {
file_selector_render(ted, fs);
}
}
+
+static void menu_frame(Ted *ted, Menu menu) {
+ menu_update(ted, menu);
+ if (ted->menu)
+ menu_render(ted, ted->menu);
+}