# HG changeset patch # User Kim Alvefur # Date 1344669911 -7200 # Node ID a629b953780c24f7826e4adacedc8d11b1f8294f # Parent 7816f24d0fdc88f0ef1c082002b93ef058045ca5 clix.archive: Print a newline if reading a line fails (the user pressed ^D) diff -r 7816f24d0fdc -r a629b953780c clix/archive.lua --- 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;