New
v0.25.0
v0.25.0
Features
- Set terminal title to file names when Paging is not Paging::Never #2807 (@Oliver-Looney)
bat --squeeze-blank/bat -swill now squeeze consecutive empty lines, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)bat --squeeze-limitto set the maximum number of empty consecutive when using--squeeze-blank, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)PrettyPrinter::squeeze_empty_linesto support line squeezing for bat as a library, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)- Syntax highlighting for JavaScript files that start with
#!/usr/bin/env bun#2913 (@sharunkumar) bat --strip-ansi={never,always,auto}to remove ANSI escape sequences from bat's input, see #2999 (@eth-p)- Add or remove individual style components without replacing all styles #2929 (@eth-p)
- Automatically choose theme based on the terminal's color scheme, see #2896 (@bash)
- Add option
--binary=as-textfor printing binary content, see issue #2974 and PR #2976 (@einfachIrgendwer0815)