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. --- vis-lua.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vis-lua.h') diff --git a/vis-lua.h b/vis-lua.h index d622ff5..b4f3f51 100644 --- a/vis-lua.h +++ b/vis-lua.h @@ -42,5 +42,6 @@ void vis_lua_win_highlight(Vis*, Win*); void vis_lua_win_status(Vis*, Win*); void vis_lua_term_csi(Vis*, const long *); void vis_lua_process_response(Vis *, const char *, char *, size_t, ResponseType); +void vis_lua_ui_draw(Vis*); #endif -- cgit v1.2.3