Alex Dukhan
9f8ac934ab
Updated CHANGELOG.md
2026-02-12 21:43:34 +00:00
Alex Dukhan
ab393a0281
Add COBOL syntax highlighting
2026-02-12 21:06:03 +00:00
Keith Hall
990b2fc06f
Merge pull request #3583 from mainnebula/steward/sharkdp-bat-3555-2de8ac3c
...
feat: implement --unbuffered mode for streaming input
2026-02-12 08:40:44 +02:00
mainnebula
0c883d6f28
docs: add changelog entry for --unbuffered mode ( #3583 )
2026-02-11 23:45:20 -05:00
mainnebula
167dda63a8
feat: implement --unbuffered mode for streaming input ( #3555 )
...
Repurpose the existing --unbuffered/-u flag (previously a POSIX no-op)
to enable unbuffered input reading using fill_buf()/consume() instead
of read_until(b'\n'). This allows partial lines to display immediately
when piping streaming input like `tail -f` into bat.
- Add unbuffered field to Config and InputReader
- Add read_line_unbuffered() using BufRead::fill_buf()/consume()
- Add flush() to OutputHandle, called after each line in unbuffered mode
- Auto-disable line numbers in unbuffered mode to avoid partial line confusion
- Update help text, man page, and shell completions
- Add unit tests and integration tests
2026-02-11 23:27:08 -05:00
dddffgg
cb8b637574
fix(cache): allow --help flag for cache subcommand ( #3580 )
...
* fix(cache): allow --help flag for cache subcommand
* docs: add changelog entry for cache --help fix
2026-02-09 05:06:40 +02:00
Keith Hall
391e7ff072
Merge pull request #3581 from NORMAL-EX/chore/update-time-crate
...
chore(deps): update time crate to 0.3.47 (RUSTSEC-2026-0009)
2026-02-07 13:37:17 +02:00
dddffgg
2b517199a2
docs: add changelog entry for MSRV bump and time crate update
2026-02-07 19:23:57 +08:00
dddffgg
a0f326aa22
chore: bump MSRV to 1.88
2026-02-07 19:23:47 +08:00
dddffgg
a4a7692134
chore(deps): update time crate to 0.3.47 (RUSTSEC-2026-0009)
2026-02-06 21:32:02 +08:00
Keith Hall
3df9d581b7
Merge pull request #3527 from Anchal-T/master
...
Fix bat crash with BusyBox less on Windows
2026-02-03 22:40:04 +02:00
Keith Hall
eb724f2dc4
Merge branch 'master' into master
2026-02-03 22:27:30 +02:00
Keith Hall
c491488140
Merge pull request #3578 from vorburger/nix
...
Add initial flake.nix; just for develop, for now (fixes#3577)
2026-02-03 22:25:49 +02:00
Michael Vorburger
3f12b1c1ab
docs: Use PR not Issue ID in CHANGELOG.md
2026-02-01 14:20:40 +01:00
Michael Vorburger
2c682ff6a6
docs: Document flake.nix in CHANGELOG.md (see #3577 )
2026-02-01 14:13:03 +01:00
Michael Vorburger
36b37e1aa5
Add x86_64-darwin (Intel macOS) to flake.nix
2026-02-01 14:11:05 +01:00
Michael Vorburger
d19c80a7c1
Remove allowUnfree = true from flake.nix
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-01 14:09:18 +01:00
Michael Vorburger
eff57943c9
Add initial flake.nix; just for develop, for now (fixes#3577)
2026-02-01 14:06:05 +01:00
Keith Hall
8664cc9df9
Merge pull request #3563 from NORMAL-EX/feat/quiet-empty
...
feat: add --quiet-empty flag to suppress output on empty input
2026-02-01 11:15:45 +02:00
dddffgg
3b34b47d55
docs: add --quiet-empty to PowerShell completion
2026-02-01 16:21:38 +08:00
dddffgg
9a5519057c
docs: add --quiet-empty to fish completion
2026-02-01 16:21:22 +08:00
dddffgg
93411a96e4
docs: add --quiet-empty to zsh completion
2026-02-01 16:21:05 +08:00
dddffgg
bd461afd75
docs: add --quiet-empty to bash completion
2026-02-01 16:20:49 +08:00
dddffgg
55306c15a6
docs: add --quiet-empty to man page
2026-02-01 16:20:27 +08:00
dddffgg
afd804ebea
Merge branch 'master' into feat/quiet-empty
2026-02-01 14:50:07 +08:00
auto-merge-dependabot-prs[bot]
3d0a7ed0a0
Merge pull request #3568 from sharkdp/dependabot/cargo/indexmap-2.13.0
...
build(deps): bump indexmap from 2.12.1 to 2.13.0
2026-02-01 05:30:27 +00:00
dependabot[bot]
8f6f5dfbd2
build(deps): bump indexmap from 2.12.1 to 2.13.0
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.12.1 to 2.13.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.12.1...2.13.0 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-version: 2.13.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-01 05:19:49 +00:00
auto-merge-dependabot-prs[bot]
43ab174d42
Merge pull request #3567 from sharkdp/dependabot/cargo/proc-macro2-1.0.106
...
build(deps): bump proc-macro2 from 1.0.103 to 1.0.106
2026-02-01 05:16:54 +00:00
dependabot[bot]
b396ab865f
build(deps): bump proc-macro2 from 1.0.103 to 1.0.106
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.103 to 1.0.106.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.103...1.0.106 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-version: 1.0.106
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-01 04:54:36 +00:00
auto-merge-dependabot-prs[bot]
8a82847121
Merge pull request #3571 from sharkdp/dependabot/cargo/serde_with-3.16.1
...
build(deps): bump serde_with from 3.15.1 to 3.16.1
2026-02-01 04:48:09 +00:00
dependabot[bot]
c3c19c8018
build(deps): bump serde_with from 3.15.1 to 3.16.1
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.15.1 to 3.16.1.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.15.1...v3.16.1 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-version: 3.16.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-01 04:19:31 +00:00
auto-merge-dependabot-prs[bot]
0d2078b32b
Merge pull request #3569 from sharkdp/dependabot/cargo/clap-4.5.56
...
build(deps): bump clap from 4.5.46 to 4.5.56
2026-02-01 04:15:25 +00:00
dependabot[bot]
cddfad83e4
build(deps): bump clap from 4.5.46 to 4.5.56
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.46 to 4.5.56.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.46...clap_complete-v4.5.56 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.56
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-01 03:49:22 +00:00
dddffgg
2e355ffa4e
Merge branch 'master' into feat/quiet-empty
2026-02-01 11:48:43 +08:00
dddffgg
fa66d8e3ef
fix: correct position of --quiet-empty in long-help.txt
2026-02-01 11:48:10 +08:00
dddffgg
cb83b8fb9a
fix: correct position of --quiet-empty in short-help.txt
2026-02-01 11:47:24 +08:00
auto-merge-dependabot-prs[bot]
adfdcf4c6d
Merge pull request #3564 from sharkdp/dependabot/cargo/git2-0.20.3
...
build(deps): bump git2 from 0.20.2 to 0.20.3
2026-02-01 03:39:56 +00:00
dependabot[bot]
593cf76811
build(deps): bump git2 from 0.20.2 to 0.20.3
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.20.2 to 0.20.3.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/git2-0.20.3/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.20.2...git2-0.20.3 )
---
updated-dependencies:
- dependency-name: git2
dependency-version: 0.20.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-01 03:03:36 +00:00
dddffgg
3aaec8cb3b
docs: update long-help.txt with --quiet-empty flag
2026-01-31 17:02:24 +08:00
dddffgg
2030ffa664
docs: update short-help.txt with --quiet-empty flag
2026-01-31 17:02:12 +08:00
dddffgg
edb8342eab
docs: fix changelog entry to reference PR number
2026-01-31 16:48:03 +08:00
dddffgg
6a7936a26f
test: add integration tests for --quiet-empty flag
2026-01-31 16:45:46 +08:00
dddffgg
26118afde0
docs: add changelog entry for --quiet-empty flag
2026-01-31 16:44:39 +08:00
dddffgg
783acbc83d
feat: implement quiet_empty behavior in printer
2026-01-31 16:42:28 +08:00
dddffgg
6f0a61cef9
feat: wire up quiet_empty config in app
2026-01-31 16:41:46 +08:00
dddffgg
53a10e0b0a
feat: add --quiet-empty CLI flag
2026-01-31 16:41:13 +08:00
dddffgg
626154317f
feat: add quiet_empty config option
2026-01-31 16:40:59 +08:00
Keith Hall
885ae1dc81
Merge pull request #3561 from cerdelen/small_typo_fix
...
Small typo fixes
2026-01-28 22:03:09 +02:00
Cedric Erdelen
f6f1f18e9c
remove trailing whitespace
2026-01-28 19:59:10 +01:00
cerdelen
69a2ffbdac
Update src/config.rs
...
Co-authored-by: Keith Hall <keith-hall@users.noreply.github.com >
2026-01-28 19:48:02 +01:00