Software /
code /
clix
Changeset
92:a629b953780c
clix.archive: Print a newline if reading a line fails (the user pressed ^D)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 11 Aug 2012 09:25:11 +0200 |
parents | 91:7816f24d0fdc |
children | 93:8ab81c304073 |
files | clix/archive.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;