1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-09 19:51:48 +00:00

remove code comments

This commit is contained in:
Ian Maloney
2026-02-20 06:12:14 +00:00
parent 16d041492c
commit 62b0388236
2 changed files with 0 additions and 10 deletions
-2
View File
@@ -400,7 +400,6 @@ impl App {
_ => unreachable!("other values for --binary are not allowed"),
},
wrapping_mode: {
// Check for explicit flags first (--chop-long-lines or --wrap)
if self.matches.get_flag("chop-long-lines") {
WrappingMode::NoWrapping(true)
} else {
@@ -408,7 +407,6 @@ impl App {
Some("character") => WrappingMode::Character,
Some("never") => WrappingMode::NoWrapping(true),
Some("auto") | None => {
// For "auto" or default mode, respect interactive_output setting
if self.interactive_output || maybe_term_width.is_some() {
if style_components.plain() && maybe_term_width.is_none() {
WrappingMode::NoWrapping(false)