Fix _tide_decolor for linux and tmux TERMs (fixes #66)

This commit is contained in:
Ilan Cosman 2021-01-02 20:16:03 -08:00
parent 7f55deaf8e
commit 302bfe1747

View File

@ -1,3 +1,3 @@
function _tide_decolor
string replace --all --regex '\e(\[[\d;]*|\(B\e\[)m' '' "$argv"
string replace --all --regex '\e(\[[\d;]*|\(B\e\[)m(\co)?' '' "$argv"
end