1
0
Fork 0

ToLua driver: disabled output buffering.

This commit is contained in:
madmaxoft 2014-08-03 12:08:00 +02:00
parent 836de13797
commit 36d1972336
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
local mobdebugfound, mobdebug = pcall(require, "mobdebug")
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:
local KnownArgs = {
['v'] = true,