diff --git a/src/bin/bat/app.rs b/src/bin/bat/app.rs index b52aa265..eeaa7b39 100644 --- a/src/bin/bat/app.rs +++ b/src/bin/bat/app.rs @@ -174,9 +174,8 @@ impl App { } _ => unreachable!("other values for --wrap are not allowed"), } - } - else { - WrappingMode::NoWrapping(true) + } else { + WrappingMode::Character } } else { // We don't have the tty width when piping to another program.