ToLua driver: disabled output buffering.
This commit is contained in:
parent
836de13797
commit
36d1972336
@ -3,6 +3,9 @@
|
|||||||
local mobdebugfound, mobdebug = pcall(require, "mobdebug")
|
local mobdebugfound, mobdebug = pcall(require, "mobdebug")
|
||||||
if mobdebugfound then mobdebug.start() end
|
if mobdebugfound then mobdebug.start() end
|
||||||
|
|
||||||
|
-- Disable buffering for stdout, so that the results appear immediately:
|
||||||
|
io.output():setvbuf("no")
|
||||||
|
|
||||||
-- The list of valid arguments that the ToLua scripts can process:
|
-- The list of valid arguments that the ToLua scripts can process:
|
||||||
local KnownArgs = {
|
local KnownArgs = {
|
||||||
['v'] = true,
|
['v'] = true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user