diff options
Diffstat (limited to 'lib/tolua++/src/bin')
-rw-r--r-- | lib/tolua++/src/bin/lua/_driver.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tolua++/src/bin/lua/_driver.lua b/lib/tolua++/src/bin/lua/_driver.lua index 87ecd42ea..1ca18862b 100644 --- a/lib/tolua++/src/bin/lua/_driver.lua +++ b/lib/tolua++/src/bin/lua/_driver.lua @@ -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, |