David Peter

Results 135 issues of David Peter

Fixes a panic when writing to a closed pipe by explicitly ignoring this error type. This commit also changes the behavior of `as-tree` on empty inputs which would previously result...

This is a proof-of-concept implementation of something that we discussed amongst the maintainers recently: a **plugin mechanism for bat**. The idea of this PR is to get the discussion started....

The Rust 1.58 release notes (https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html#reduced-windows-command-search-path) mention, that the problem with command execution on Windows that lead to #1472 / [CVE-2021-36753](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-36753) have now been fixed. This should allow us to...

waiting-on-msrv

Maybe by computing entropy per line. This would make everything a lot faster, but we would still have a problem when the stride is large.