1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-02-13 16:38:41 +00:00

174 Commits

Author SHA1 Message Date
einfachIrgendwer0815
6cf747678c
Fix clippy::needless_borrows_for_generic_args warnings 2025-02-02 15:08:11 +01:00
einfachIrgendwer0815
4f161705a3
Fix: Don't output default theme info to piped stdout 2025-01-27 17:11:26 +01:00
Tau Gärtli
8a11a46f66
Add integration tests 2025-01-09 08:20:36 +01:00
Anomalocaridid
96e4882b5c tests: remove serial attribute on and un-ignore applicable lessopen tests 2025-01-05 21:36:33 +00:00
Anomalocaridid
a0a090c307 tests: disable lessopen for help tests 2025-01-05 21:36:33 +00:00
Keith Hall
60693db73f
Merge branch 'master' into dark-light 2024-11-13 20:33:37 +02:00
einfachIrgendwer0815
3b71837174
Merge branch 'master' into fix/2731_plain_override 2024-10-30 13:06:13 +01:00
einfachIrgendwer0815
8d82402d74
Merge branch 'master' into feature/binary_as_text 2024-10-30 12:46:11 +01:00
Fabio Valentini
649fb05c58 Bump nix from 0.26.4 to 0.29 2024-10-25 09:16:21 +02:00
einfachIrgendwer0815
e667415def
Add tests against issue #2731 2024-10-18 12:13:41 +02:00
einfachIrgendwer0815
5be9d19500
Reinforce tests for --list-themes 2024-08-25 11:10:25 +02:00
Tau Gärtli
bc42149a72
Merge color scheme options into theme / BAT_THEME 2024-08-18 14:59:14 +02:00
einfachIrgendwer0815
7cc231b82b
Test --binary=as-text 2024-08-18 10:05:43 +02:00
Tau Gärtli
b9b981f657
Generalize --detect-color-scheme to --color-scheme 2024-08-16 14:14:30 +02:00
Tau Gärtli
5c6974703e
Respect --detect-color-scheme flag when listing themes 2024-08-16 14:13:58 +02:00
Tau Gärtli
c3b190d45b
Disable color detection in test 2024-08-16 14:13:18 +02:00
Ethan P.
180a77ee99
Add integration tests for merging styles
A huge thanks to @einfachIrgendwer0815 for helping me make sure
these tests work under the MSRV CI job.
2024-07-30 21:22:00 -07:00
Ethan P.
9e8176b1c6
Add --strip-ansi=auto option
When using `auto`, escape sequences will be stripped unless printing
plain text.
2024-06-17 18:27:33 -07:00
Ethan P.
70ff93d238
Add --strip-ansi option 2024-06-16 16:49:07 -07:00
Stéphane Blondon
23ec433167 display which theme is the default one in basic output 2024-04-19 11:44:47 +02:00
sblondon
d5bd4aa93f
display which theme is the default one in colored output (#2838) 2024-04-14 15:54:52 +02:00
Lena
4c85483486 Inline format! args wherever possible 2024-02-25 00:38:11 +01:00
einfachIrgendwer0815
83b00bc653
Rename --squeeze to --squeeze-blank 2024-02-24 14:02:27 +01:00
einfachIrgendwer0815
2323aa0def
Add tests for --squeeze 2024-02-24 13:51:44 +01:00
Oliver Looney
c3f2ddf509
Merge branch 'master' into 2783-setting-terminal-title 2024-02-11 22:53:48 +00:00
Oliver looney
8a51172b11
simplified basic_set_terminal_title 2024-02-11 22:43:07 +00:00
Ethan P
1023399c5e
Remove hyperlink when wrapping lines 2024-02-09 22:09:39 -08:00
Ethan P
6549e26f5d
Re-emit hyperlinks when wrapping lines 2024-02-09 22:09:39 -08:00
Ethan P
2d46d54ae3
Add tests for re-emitting SGR sequences on wrap 2024-02-09 22:09:39 -08:00
Ethan P
3d04699710
Add regression test for #2541
More specifically, the test ensures that OSC sequences don't end up
wrapping the line.
2024-02-09 22:09:39 -08:00
Oliver looney
7ce010d9ed
Using hypens instead of underscores for set-terminal-title command 2024-02-08 21:33:03 +00:00
Oliver looney
a8d07333e9
updated integration_tests.rs 2024-01-30 19:29:28 +00:00
Oliver looney
22254936a2
ran cargo fmt 2024-01-27 14:32:34 +00:00
Oliver looney
f6d76e0104
added integration test for setting terminal title 2024-01-27 14:31:28 +00:00
Oliver looney
c911829771
fixed failing tests 2024-01-27 14:23:24 +00:00
Filip Razek
1b88267320 Ensure test succeeds by adding flag 2024-01-21 19:48:26 +01:00
Filip Razek
45ee2dc4c7 fix: Wrap file name in header 2024-01-21 19:48:26 +01:00
Oliver looney
3b0ade9cb8
slightly changed set terminal command to match docs & broke print line into multiple variables 2023-12-31 22:24:44 +00:00
Oliver looney
907af9e35f
updated tests since terminal title is set conditionally 2023-12-18 17:27:51 +00:00
Oliver looney
fd84e4f49f
fixed all but two failing tests. Last two tests are erroring because of IO circle detected error 2023-12-11 19:09:48 +00:00
einfachIrgendwer0815
3d87b25b19
Add unicode/caret replacements for all control characters (#2712) 2023-10-20 19:41:48 +02:00
Dan Gohman
319c675f3e Fix a double-close in the no_args_doesnt_break test.
Fix the `no_args_doesnt_break` test to avoid calling `from_raw_fd` twice
on the same raw file descriptor, as that cause the file descriptor to be
closed twice, which means it could accidentally close some unrelated newly
created file descriptor.
2023-09-29 18:27:27 +02:00
Nicolas AMBRY
5a240f36b9
Case insensitive --map-syntax (#2650)
Co-authored-by: Nicolas AMBRY <nicolas.ambry@atos.net>
2023-09-14 16:04:43 +02:00
J-Kappes
e2bf85e749
Make -pp override --paging and vice versa when passed as a later argument. (#2660) 2023-09-14 05:45:46 +02:00
Anomalocaridid
fe73010a5e ignore failing test 2023-09-08 06:25:20 +02:00
Anomalocaridid
433176ab54 require LESSOPEN to have exactly one %s 2023-09-08 06:25:20 +02:00
Anomalocaridid
b56021ffa9 make LESSOPEN support opt-in 2023-09-08 06:25:20 +02:00
Boy van Duuren
d6e11b59e7
#2592: Fixes unit tests dependent on echo on windows (#2602)
Co-authored-by: Boy van Duuren <boy.van.duuren@rabobank.nl>
2023-09-08 06:18:25 +02:00
Anomalocaridid
e32ad0b048
Add $LESSOPEN and $LESSCLOSE support (#2444) 2023-09-02 08:48:26 +02:00
einfachIrgendwer0815
4b04f901fe Add test for BAT_PAGING 2023-09-01 17:59:41 +02:00