1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-01 18:31:46 +00: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
+2
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,
}