summaryrefslogtreecommitdiffstats
path: root/lib/tolua++/src/bin/lua/_driver.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-03 12:08:00 +0200
committermadmaxoft <github@xoft.cz>2014-08-03 22:04:49 +0200
commit36d19723362a4b1756c03fdc2cda7b6cace4b97b (patch)
tree6f4abfc5bd86e1d186caf46ea092b6deb46a790c /lib/tolua++/src/bin/lua/_driver.lua
parentAdded cPlayer::GetUUID(). (diff)
downloadcuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar
cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.gz
cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.bz2
cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.lz
cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.xz
cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.tar.zst
cuberite-36d19723362a4b1756c03fdc2cda7b6cace4b97b.zip
Diffstat (limited to 'lib/tolua++/src/bin/lua/_driver.lua')
-rw-r--r--lib/tolua++/src/bin/lua/_driver.lua3
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,