Today I Learned

2021/07/12

TIL that terminals attached to interactive docker containers don’t necesarily respect ANSI escape codes. I’m still not 100% sure what causes the terminal to respect ANSI escape codes or not, but test -t 1 didn’t seem to correctly discriminate.