Colored output for sh and shell commands #3
Labels
enhancement
New feature or request
todo
Things I generally already know how to do/fix, just don't have the time or mood to do at the time.
This can now be achieved since Discord added (limited*) support for TTY color codes on ANSI codeblocks. It's currently desktop only and probably will stay that way for a long time considering the history of syntax highlighting on mobile, therefore a new
--mobile
(short--m
) flag needs to be added to both commands to strip color codes so they don't leak and trash the mobile output.The child_processes themselves also need to be able to receive the color codes, in a crossplatform (Windows & Linux) way. Refs:
apt install expect
&unbuffer <cmd>
(Linux only?)The text was updated successfully, but these errors were encountered: