aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/file_io.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index ae34a735..857692c3 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -436,6 +436,7 @@ if WIN32 then
return table.concat(text, '')
end,
write = function(self, ...) f:write(...) end,
+ flush = function() end,
lines = function()
local output, pos = file:read('*a'), 1
if not output:find('\r?\n$') then output = output..'\n' end