mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
remove all matches
This commit is contained in:
1 parent
2ccff145ed
commit
f5531cc7fa
2 files changed
+10
-2
No files matched your search
+5
-1
@@ -150,7 +150,11 @@ impl OutputType {
|
||||
|
||||
#[cfg(feature = "paging")]
|
||||
pub(crate) fn is_pager(&self) -> bool {
|
||||
matches!(self, OutputType::Pager(_))
|
||||
if let OutputType::Pager(_) = self {
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "paging"))]
|
||||
|
||||
Reference in new issue
Block a user