lua-users home
lua-l archive

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


I made a simple addition to the REPL: The '-p' flag. It pauses on close until any key is pressed.

The commit is here:

https://github.com/trms/lua/commit/260d478fb31c83153ce5d1705254b2bc7e9ce5a0

(lua.c is the relevant change)

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


-Andrew