1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 19:32:25 +01:00

Move paging support behind a feature

This commit is contained in:
David Tolnay
2020-03-30 10:36:26 -07:00
committed by David Peter
parent 4e11abdf9b
commit 014d754588
5 changed files with 25 additions and 8 deletions

View File

@@ -6,7 +6,9 @@ pub use crate::wrap::OutputWrap;
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum PagingMode {
#[cfg(feature = "paging")]
Always,
#[cfg(feature = "paging")]
QuitIfOneScreen,
Never,
}