summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/ui/application.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/ui/application.lua b/xmake/core/ui/application.lua
index dc37ce418..aab8acdeb 100644
--- a/xmake/core/ui/application.lua
+++ b/xmake/core/ui/application.lua
@@ -99,6 +99,7 @@ end
-- run application
function application:run(...)
+ assert(curses.done, "ncurses not found, please install it first and reinstall xmake.")
-- init runner
local argv = {...}