From 6d578b26f5f6d85a788a08fcb0cdfdd3136a0a89 Mon Sep 17 00:00:00 2001 From: Qingping Hou Date: Sun, 24 Jul 2016 16:47:10 -0700 Subject: [PATCH] minor: use io.write instead of print for dbg module --- frontend/dbg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/dbg.lua b/frontend/dbg.lua index 2b1836742..4d8f4cd36 100644 --- a/frontend/dbg.lua +++ b/frontend/dbg.lua @@ -21,7 +21,7 @@ local function LvDEBUG(lv, ...) if isAndroid then android.LOGI("#"..line) else - print(string.format("# %s %s", os.date("%x-%X"), line)) + io.stdout:write(string.format("# %s %s\n", os.date("%x-%X"), line)) io.stdout:flush() end end