Sat, 11 Aug 2012 09:25:11 +0200
clix.archive: Print a newline if reading a line fails (the user pressed ^D)
clix/archive.lua | file | annotate | diff | comparison | revisions |
--- a/clix/archive.lua Sun Jul 29 23:58:39 2012 +0200 +++ b/clix/archive.lua Sat Aug 11 09:25:11 2012 +0200 @@ -44,7 +44,7 @@ local fetch_next = opts.everything; if opts.interactive and not fetch_next then io.stderr:write "--More--" - fetch_next = io.read"*l"; + fetch_next = io.read"*l" or print(); end if fetch_next then opts.after = result.last;