On TikTok you often read comments and stuff, it’s very impractical to constantly rotate the screen and a good chunk of it is just people talking where the horizontal space would be wasted anyway. You get used to it and it makes sense there specifically. It’s just not the same kind of content.
For the most part, this happens because those programs check if stdout is a pseudo-terminal (pty) and automatically disable color output because if you’re doing say
ls -l
and try to parse it, you’ll have all the ANSI escape sequences mixed in, so for safety and predictability they disable color.It is unfortunately a per-program thing. It is possible to fake it using
script
orunbuffer
according to https://stackoverflow.com/a/32981392Looks like
socat
can also be used for that: https://unix.stackexchange.com/a/157463