From 2084d41c1346f068a9ff6065546cdc753e4dfe20 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 15 Dec 2013 21:51:45 -0500 Subject: Added dummy `flush()` for processes in experimental winapi; core/file_io.lua --- core/file_io.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core/file_io.lua') 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 -- cgit v1.2.3