mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-07 21:51:18 +00:00
12 lines
246 B
Rust
12 lines
246 B
Rust
#[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)
|
|
}
|
|
}
|