summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-29 18:33:56 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-29 18:33:56 -0500
commit90ffcaad047caa55e65a6bf858a7b976e062007a (patch)
treec76eb58d233fab1a70fe49253ebaa639fe23ca65 /menu.c
parenta0b84cc8f40e19a506332be3a05222b87e6ed617 (diff)
tabs working pretty well (not done yet)
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);
+}