Commit Graph

178 Commits

Author SHA1 Message Date
e42883bf2c Merge branch 'master' into read-from-tail 2025-04-15 20:27:26 +03:00
18b71743c8 Fix for multibyte characters in file path 2025-03-31 17:29:18 -07:00
6cf747678c Fix clippy::needless_borrows_for_generic_args warnings 2025-02-02 15:08:11 +01:00
4f161705a3 Fix: Don't output default theme info to piped stdout 2025-01-27 17:11:26 +01:00
8a11a46f66 Add integration tests 2025-01-09 08:20:36 +01:00
96e4882b5c tests: remove serial attribute on and un-ignore applicable lessopen tests 2025-01-05 21:36:33 +00:00
a0a090c307 tests: disable lessopen for help tests 2025-01-05 21:36:33 +00:00
60693db73f Merge branch 'master' into dark-light 2024-11-13 20:33:37 +02:00
3b71837174 Merge branch 'master' into fix/2731_plain_override 2024-10-30 13:06:13 +01:00
8d82402d74 Merge branch 'master' into feature/binary_as_text 2024-10-30 12:46:11 +01:00
649fb05c58 Bump nix from 0.26.4 to 0.29 2024-10-25 09:16:21 +02:00
e667415def Add tests against issue #2731 2024-10-18 12:13:41 +02:00
5be9d19500 Reinforce tests for --list-themes 2024-08-25 11:10:25 +02:00
bc42149a72 Merge color scheme options into theme / BAT_THEME 2024-08-18 14:59:14 +02:00
7cc231b82b Test --binary=as-text 2024-08-18 10:05:43 +02:00
b9b981f657 Generalize --detect-color-scheme to --color-scheme 2024-08-16 14:14:30 +02:00
5c6974703e Respect --detect-color-scheme flag when listing themes 2024-08-16 14:13:58 +02:00
c3b190d45b Disable color detection in test 2024-08-16 14:13:18 +02:00
571970f8ff Merge branch 'master' into read-from-tail 2024-08-10 11:34:45 +02:00
569286055c Support relative negative line ranges 2024-08-10 10:37:19 +02:00
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
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
70ff93d238 Add --strip-ansi option 2024-06-16 16:49:07 -07:00
23ec433167 display which theme is the default one in basic output 2024-04-19 11:44:47 +02:00
d5bd4aa93f display which theme is the default one in colored output (#2838) 2024-04-14 15:54:52 +02:00
4c85483486 Inline format! args wherever possible 2024-02-25 00:38:11 +01:00
83b00bc653 Rename --squeeze to --squeeze-blank 2024-02-24 14:02:27 +01:00
2323aa0def Add tests for --squeeze 2024-02-24 13:51:44 +01:00
c3f2ddf509 Merge branch 'master' into 2783-setting-terminal-title 2024-02-11 22:53:48 +00:00
8a51172b11 simplified basic_set_terminal_title 2024-02-11 22:43:07 +00:00
1023399c5e Remove hyperlink when wrapping lines 2024-02-09 22:09:39 -08:00
6549e26f5d Re-emit hyperlinks when wrapping lines 2024-02-09 22:09:39 -08:00
2d46d54ae3 Add tests for re-emitting SGR sequences on wrap 2024-02-09 22:09:39 -08:00
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
7ce010d9ed Using hypens instead of underscores for set-terminal-title command 2024-02-08 21:33:03 +00:00
a8d07333e9 updated integration_tests.rs 2024-01-30 19:29:28 +00:00
22254936a2 ran cargo fmt 2024-01-27 14:32:34 +00:00
f6d76e0104 added integration test for setting terminal title 2024-01-27 14:31:28 +00:00
c911829771 fixed failing tests 2024-01-27 14:23:24 +00:00
1b88267320 Ensure test succeeds by adding flag 2024-01-21 19:48:26 +01:00
45ee2dc4c7 fix: Wrap file name in header 2024-01-21 19:48:26 +01:00
3b0ade9cb8 slightly changed set terminal command to match docs & broke print line into multiple variables 2023-12-31 22:24:44 +00:00
907af9e35f updated tests since terminal title is set conditionally 2023-12-18 17:27:51 +00:00
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
3d87b25b19 Add unicode/caret replacements for all control characters (#2712) 2023-10-20 19:41:48 +02:00
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
5a240f36b9 Case insensitive --map-syntax (#2650)
Co-authored-by: Nicolas AMBRY <nicolas.ambry@atos.net>
2023-09-14 16:04:43 +02:00
e2bf85e749 Make -pp override --paging and vice versa when passed as a later argument. (#2660) 2023-09-14 05:45:46 +02:00
fe73010a5e ignore failing test 2023-09-08 06:25:20 +02:00
433176ab54 require LESSOPEN to have exactly one %s 2023-09-08 06:25:20 +02:00