summaryrefslogtreecommitdiff
path: root/xmake/core/ui/application.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-03-14 22:39:18 +0800
committerruki <[email protected]>2024-03-14 22:39:18 +0800
commit5f4ef580717ed3fb92435b505fc80f32acf70e99 (patch)
treec18b552dd7c846cf337d595cec9b16baad9a6d8d /xmake/core/ui/application.lua
parentc4256254f280caa8f7931e7c5e15195f039fa5ec (diff)
check curse
Diffstat (limited to 'xmake/core/ui/application.lua')
-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 = {...}