diff options
author | 2013-04-03 16:56:14 -0400 | |
---|---|---|
committer | 2013-04-03 16:56:14 -0400 | |
commit | 679e188ec027978b37eb36a5f2d52bc2cf04ef77 (patch) | |
tree | 61da33e31c8f6f02fcc5fd53e406368635d5df43 /core/args.lua | |
parent | 00153ab1c0f7307a8589c7d0cc0a3908cb7f0c34 (diff) | |
download | textadept-679e188ec027978b37eb36a5f2d52bc2cf04ef77.tar.gz textadept-679e188ec027978b37eb36a5f2d52bc2cf04ef77.zip |
Textadept should support multiple curses platforms; remove ncurses references.
Requires Scintilla r4436 and Scinterm r45.
Diffstat (limited to 'core/args.lua')
-rw-r--r-- | core/args.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/args.lua b/core/args.lua index b94cc645..dedfc22e 100644 --- a/core/args.lua +++ b/core/args.lua @@ -77,7 +77,7 @@ local function show_help() for k, v in pairs(switches) do print(line:format(k, table.unpack(v, 2))) end os.exit() end -if not NCURSES then M.register('-h', '--help', 0, show_help, 'Shows this') end +if not CURSES then M.register('-h', '--help', 0, show_help, 'Shows this') end -- For Windows, create arg table from single command line string (arg[0]). if WIN32 and #arg[0] > 0 then |