1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 11:22:30 +01:00

Move PagingMode to separate module

This commit is contained in:
sharkdp
2020-04-22 22:54:33 +02:00
committed by David Peter
parent 17f3a3b95d
commit 8961f7aef8
7 changed files with 24 additions and 22 deletions

12
src/paging.rs Normal file
View File

@@ -0,0 +1,12 @@
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum PagingMode {
Always,
QuitIfOneScreen,
Never,
}
impl Default for PagingMode {
fn default() -> Self {
PagingMode::Never
}
}