diff options
| author | Philipp Gesang <phg42.2a@gmail.com> | 2014-01-03 22:43:05 +0100 | 
|---|---|---|
| committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-01-03 22:45:35 +0100 | 
| commit | 5d207c36c8bdf259f5c8b4e7d1a7894774f0edcf (patch) | |
| tree | de9429c414df78788548a40beb8f2cad05d84824 | |
| parent | a69e72718162d0bf1b701e31e67de2f2b8d2aebd (diff) | |
| download | luaotfload-5d207c36c8bdf259f5c8b4e7d1a7894774f0edcf.tar.gz | |
[log] fix newline handling of the last status message when imitating texio.*()
Issue reported by /u/eg9 on
    https://github.com/lualatex/luaotfload/issues/164#issuecomment-31551430
| -rw-r--r-- | luaotfload-override.lua | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/luaotfload-override.lua b/luaotfload-override.lua index a692cb4..7cb9c5d 100644 --- a/luaotfload-override.lua +++ b/luaotfload-override.lua @@ -166,6 +166,8 @@ if texjob == true then      statusln = function (str)          if first_status == false then              iowrite (kill_line) +        else +            iowrite "\n"          end          iowrite (str)      end @@ -326,7 +328,9 @@ end  local status_stop = function (...)      if first_status == false then          status_writer(...) -        writeln "" +        if texjob == false then +            writeln "" +        end      end  end | 
