mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #2772 from jfinkels/more-return-result
more: return Ok in main loop
This commit is contained in:
commit
ca705e5ad2
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…
Add table
Add a link
Reference in a new issue