lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Added pause (-p) option to Lua REPL
From
: Andrew Starks <andrew.starks@
...
>
Date
: Thu, 29 May 2014 13:21:16 -0500
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
Follow-Ups
:
Re: Added pause (-p) option to Lua REPL
,
Coroutines
Re: Added pause (-p) option to Lua REPL
,
Dirk Laurie
Prev by Date:
Re: Terra - A low-level counterpart to Lua
Next by Date:
Re: Added pause (-p) option to Lua REPL
Previous by thread:
Re: Parsing codepoints
Next by thread:
Re: Added pause (-p) option to Lua REPL
Index(es):
Date
Thread