nushell/crates/nu-command
Tobias 2e23d4d734
fix issue 6602 (broken highlighting in find) (#6604)
* fix issue 6602 (broken highlighting in find)

Find uses highlight_search_string to see where the string was found. The problem was that the style would just "append" to the existing haystack (including the ANSI escape codes of LS_COLORS).

This first strips the ANSI escape codes out of the haystack before formatting the
output string.

* update formatting
2022-09-23 07:11:33 -05:00
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
proptest-regressions/format_conversions add tests, deal with pipes, newlines, tabs for to nuon (#6391) 2022-09-01 14:08:19 +02:00
src fix issue 6602 (broken highlighting in find) (#6604) 2022-09-23 07:11:33 -05:00
tests Improve "Did you mean?" suggestions (#6579) 2022-09-20 19:46:01 -05:00
build.rs Fix panic when building without git (#6289) 2022-08-10 10:31:12 -05:00
Cargo.toml Add "space" key to bind in vi normal mode (#6590) 2022-09-20 13:04:35 +02:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00