mirror of
https://github.com/sharkdp/bat
synced 2026-08-06 19:21:43 +00:00
Move PagingMode to separate module
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub enum PagingMode {
|
||||
Always,
|
||||
QuitIfOneScreen,
|
||||
Never,
|
||||
}
|
||||
|
||||
impl Default for PagingMode {
|
||||
fn default() -> Self {
|
||||
PagingMode::Never
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user