1
0
mirror of https://github.com/sharkdp/bat.git synced 2026-02-08 00:32:08 +00:00
This commit is contained in:
Hakil
2025-12-23 18:08:38 +01:00
committed by GitHub
parent 9bf344f760
commit ad608014d9
3 changed files with 17 additions and 1 deletions

View File

@@ -405,7 +405,7 @@ impl App {
Some("character") => WrappingMode::Character,
Some("never") => WrappingMode::NoWrapping(true),
Some("auto") | None => {
if style_components.plain() {
if style_components.plain() && maybe_term_width.is_none() {
WrappingMode::NoWrapping(false)
} else {
WrappingMode::Character