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
..
2022-05-18 20:47:26 -05:00
2022-09-19 14:30:04 -05:00
2022-09-11 11:48:27 +03:00
2022-07-11 11:18:06 -05:00
2022-09-11 11:48:27 +03:00
2022-07-30 11:25:44 +02:00