mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-02 04:33:34 +01:00
864656bd11
We used to call `less` with
``` bash
less --RAW-CONTROL-CHARS --quit-if-one-screen --no-init
```
We only passed `--no-init` because there was a bug with previous versions
of `less` which required the use of `--no-init` in combination with
`--quit-if-one-screen` to prevent this "no output" issue from happening.
Since bat 0.13, [we omit the `--no-init` option](
|
||
---|---|---|
.. | ||
bin/bat | ||
assets_metadata.rs | ||
assets.rs | ||
config.rs | ||
controller.rs | ||
decorations.rs | ||
diff.rs | ||
errors.rs | ||
inputfile.rs | ||
less.rs | ||
lib.rs | ||
line_range.rs | ||
output.rs | ||
preprocessor.rs | ||
printer.rs | ||
style.rs | ||
syntax_mapping.rs | ||
terminal.rs | ||
wrap.rs |