1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-31 18:21:04 +00:00
bat/src/wrapping.rs

12 lines
246 B
Rust
Raw Normal View History

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum WrappingMode {
Character,
NoWrapping(bool), // explicitly opted in or not
}
impl Default for WrappingMode {
fn default() -> Self {
WrappingMode::NoWrapping(false)
}
}