1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-01 18:31:46 +00:00

Added new alias for 'decoration=always'

This commit is contained in:
Alexander Karlis
2020-08-15 23:12:33 -04:00
committed by David Peter
parent 57a8122a6b
commit 565a80305c
2 changed files with 11 additions and 1 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ impl App {
term_width: maybe_term_width.unwrap_or(Term::stdout().size().1 as usize),
loop_through: !(self.interactive_output
|| self.matches.value_of("color") == Some("always")
|| self.matches.value_of("decorations") == Some("always")),
|| (self.matches.value_of("decorations") == Some("always")
|| self.matches.is_present("always-decorations"))),
tab_width: self
.matches
.value_of("tabs")