From ce6262d946f17086d04737737442d3677b375be4 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 5 Apr 2013 21:09:51 -0400 Subject: Initial support for Windows terminal via pdcurses. --- core/args.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/args.lua') diff --git a/core/args.lua b/core/args.lua index dedfc22e..15b614d3 100644 --- a/core/args.lua +++ b/core/args.lua @@ -80,7 +80,7 @@ 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 +if WIN32 and not CURSES and #arg[0] > 0 then local P, C = lpeg.P, lpeg.C local param = P('"') * C((1 - P('"'))^0) * '"' + C((1 - P(' '))^1) local params = lpeg.match(lpeg.Ct(param * (P(' ')^1 * param)^0), arg[0]) -- cgit v1.2.3