mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-14 02:05:29 +02:00
Add --pager option
This commit is contained in:
committed by
David Peter
parent
b22a9f8fe3
commit
154186a58d
@ -19,7 +19,7 @@ impl<'b> Controller<'b> {
|
||||
}
|
||||
|
||||
pub fn run(&self) -> Result<bool> {
|
||||
let mut output_type = OutputType::from_mode(self.config.paging_mode)?;
|
||||
let mut output_type = OutputType::from_mode(self.config.paging_mode, self.config.pager)?;
|
||||
let writer = output_type.handle()?;
|
||||
let mut no_errors: bool = true;
|
||||
|
||||
|
Reference in New Issue
Block a user