mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 17:58:06 +00:00
more: return Ok in main loop
This commit is contained in:
parent
83201ecb35
commit
e88a8e8eb2
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ fn more(buff: &str, stdout: &mut Stdout, next_file: Option<&str>, silent: bool)
|
|||
modifiers: KeyModifiers::NONE,
|
||||
}) => {
|
||||
if pager.should_close() {
|
||||
return;
|
||||
return Ok(());
|
||||
} else {
|
||||
pager.next_line();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue