From 979ab795bc9d19524be524c79265c6b952199a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 28 Jan 2016 23:02:19 +0100 Subject: Improve Lua error reporting Display Lua errors in a dedicated window/file. A typo or missing dependency (e.g. lpeg) in visrc.lua will no longer silently fail without any indication. The Lua integration in view.h is not yet converted. --- ui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ui.h') diff --git a/ui.h b/ui.h index 6c5b63d..61fa4df 100644 --- a/ui.h +++ b/ui.h @@ -44,6 +44,7 @@ enum UiStyles { struct Ui { bool (*init)(Ui*, Vis*); + bool (*start)(Ui*); void (*free)(Ui*); void (*resize)(Ui*); UiWin* (*window_new)(Ui*, View*, File*, enum UiOption); -- cgit v1.2.3