how to drop shell escape codes
Closed this issue · 2 comments
zormit commented
I'm not sure whether my terminal configuration is wrong or selecta's. Say there is a file called selesult
. When I run ls | selecta
will return �[00mselesult�[0m
, thus include the shell escape codes to remove coloring. This breaks something like vim $(ls | selecta)
, as the file as displayed above doesn't exist.
How can I get the "porcelain" output? I would assume that it should be the default, so the error is probably on my side.
rschmitt commented
Which platform? What is the output of stty
? Do you have an alias for ls
? (which ls
)