What happened?
Observed
TTY doesn't get autodetected and ANSI escape sequences make it to the destination as a result, by default.
Expected
TTY should be autodetected, so ANSI escape sequences don't appear in redirected output even if --no-color is not set
How can we reproduce this?
ipsw dyld symaddr dyld_shared_cache | grep _objc
# Output: ^[[2m0x1234^[[0m ^[[1m_objc_msgSend^[[0m
ipsw macho info /bin/ls > info.txt
# File contains: ^[[1mLoad Commands^[[0m
ipsw version
Search
Code of Conduct
Additional context
No response
What happened?
Observed
TTY doesn't get autodetected and ANSI escape sequences make it to the destination as a result, by default.
Expected
TTY should be autodetected, so ANSI escape sequences don't appear in redirected output even if
--no-coloris not setHow can we reproduce this?
ipsw version
Search
Code of Conduct
Additional context
No response