1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-02-19 03:19:04 +00:00

5 Commits

Author SHA1 Message Date
einfachIrgendwer0815
095442191c
Fix clippy::ptr_arg warnings 2025-02-02 15:08:14 +01:00
Anomalocaridid
de8bb79a6f refactor lessopen implementation 2025-01-05 21:36:33 +00:00
Matt Helsley
3e5f4266ce Fix lessopen feature
RawOsString API changed in os_str_bytes 7.0.0 and bat no longer builds
with the lessopen feature because:

- ::from_string() is deprecated and says to use new().
  The documentation says that new(), like from_string() no longer
  needs to copy the string.

- ::assert_from_raw_vec() is no longer merely deprecated and now
  requires selecting the "conversions" feature of os_str_bytes.

Replaces PR#2938
2024-10-03 16:32:23 -07:00
Anomalocaridid
433176ab54 require LESSOPEN to have exactly one %s 2023-09-08 06:25:20 +02:00
Anomalocaridid
e32ad0b048
Add $LESSOPEN and $LESSCLOSE support (#2444) 2023-09-02 08:48:26 +02:00