- Nov
- 11
- 0
The TCC docs state that a TABCOMPLETE script receives 4 parameters. A one-line Lua script that simply print its arguments (ie table arg) shows that this is wrong if the command line to be expanded has one or more quoted arguments with spaces in them. In that case arg[4], arg[5], ... contain the various bits and pieces of the broken command line.
Additionally, it seems impossible to set an environment variable from within the included Lua dll. This either requires additional helper DLLs or recompilation of Lua53.dll in order to add code to set environment variables. Seems a bit short-sighted.
Win7 x64, TCC 19, build 43
Additionally, it seems impossible to set an environment variable from within the included Lua dll. This either requires additional helper DLLs or recompilation of Lua53.dll in order to add code to set environment variables. Seems a bit short-sighted.
Win7 x64, TCC 19, build 43