aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/file_io.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-12-15 21:51:45 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-12-15 21:51:45 -0500
commit2084d41c1346f068a9ff6065546cdc753e4dfe20 (patch)
tree2de950cf6bccdf2086b12ffed67ae4981ac60073 /core/file_io.lua
parenta9b15a5c8b6e64f536ab05b0e721b8dc881773f9 (diff)
Added dummy `flush()` for processes in experimental winapi; core/file_io.lua
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