lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, May 29, 2014 at 11:21 AM, Andrew Starks <andrew.starks@trms.com> wrote:

> We use this for Visual Studio, which closes the the CMD window immediately
> after closing. There are other ways to do it, of course...

Personally I want to see a -path and -cpath added to the stock Lua
REPL for adding paths at `lua' invocation.  It'd also be nice to have
a -r for automatically doing a require().  You could just have a
module called pause that calls io.read(), waiting for any character
input.  Would also be nice to have a flag for executing a bit of Lua
after the auto-require()'s but before the script run.  And a flag for
"on close", so you could again do the io.read() thing another way.
Which of these ideas stick?

PS: I think Ctrl + F5 in VS keeps the window open after the process terminates?