mirror of
https://github.com/nushell/nushell.git
synced 2025-05-09 01:12:59 +00:00
* 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