From 596ec20dd81fc4a48a528bfed9e241343ee03eaa Mon Sep 17 00:00:00 2001 From: Rudy Dellomas III Date: Sun, 21 Apr 2024 20:25:40 +1000 Subject: Emit an event (ui_draw) immediately before drawing the screen This allows better control over styling, as well as potential for entirely new UI elements implemented entirely using the Lua API. --- main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main.c') diff --git a/main.c b/main.c index 8e5ad42..8aa31c6 100644 --- a/main.c +++ b/main.c @@ -2229,6 +2229,7 @@ int main(int argc, char *argv[]) { .win_highlight = vis_lua_win_highlight, .win_status = vis_lua_win_status, .term_csi = vis_lua_term_csi, + .ui_draw = vis_lua_ui_draw, }; vis = vis_new(ui_term_new(), &event); -- cgit v1.2.3