Describe the bug
using escape codes to color text breaks gum filter. typing 'm' 'b' or '[' as first character messes with the color output of match.foreground. disabling match highlighting with --match.foreground="" gets rid of the issue, but highlighting would be nice
this also affects other highlighting styles, i think all of them
i could not reproduce the problem in xterm for some reason, alacritty seems to handle color escape codes differently. not sure about other terminal emulators
To Reproduce
red=$(tput setaf 1)
green=$(tput setaf 2)
reset=$(tput sgr0)
{
echo "normal text"
echo "${red}red text${reset}"
echo "${green}green text${reset}"
} | gum filter
Expected behavior
highlight colored text without breaking the escape code
Screenshots

Desktop (please complete the following information):
- OS: EndeavourOS
- Terminal: Alacritty
- Version: gum version 0.14.5 (1917023)
Describe the bug
using escape codes to color text breaks gum filter. typing 'm' 'b' or '[' as first character messes with the color output of match.foreground. disabling match highlighting with
--match.foreground=""gets rid of the issue, but highlighting would be nicethis also affects other highlighting styles, i think all of them
i could not reproduce the problem in xterm for some reason, alacritty seems to handle color escape codes differently. not sure about other terminal emulators
To Reproduce
Expected behavior
highlight colored text without breaking the escape code
Screenshots

Desktop (please complete the following information):