summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luaotfload-override.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/luaotfload-override.lua b/luaotfload-override.lua
index 368a3d1..21fc0bb 100644
--- a/luaotfload-override.lua
+++ b/luaotfload-override.lua
@@ -171,15 +171,14 @@ local kill_line = "\r\x1b[K"
if texjob == true then
writeln = function (str)
- texiowrite_nl ("term", str)
+ iowrite "\n"
+ iowrite(str)
end
statusln = function (str)
if first_status == false then
- texiowrite ("term", kill_line)
- texiowrite ("term", str)
- else
- texiowrite_nl ("term", str)
+ iowrite (kill_line)
end
+ iowrite (str)
end
else
writeln = function (str)