Move paging support behind a feature

This commit is contained in:
David Tolnay authored and David Peter committed 2020-03-31 09:27:56 +02:00
1 parent 4e11abdf9b
commit 014d754588
5 files changed
+25 -8

No files matched your search

+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,
}