Revision history [back]
Changing the command from 'bash' to 'zsh' is the way to change which shell is used, but I'm also not finding a way to get rid of those control characters. I've tried -f and -no-rcs, setting TERM=dumb and NO_COLOR=1 in the environment, and "unsetopt BRACKETED_PASTE" which gpt-4o suggested but seems to be a hallucination at some level (or perhaps just doesn't exist in my version of zsh).
The root problem here is really that OS Commands in Wing is a dumb terminal and doesn't implement terminal control characters. We do hope to fix that but I'm not sure when. It's one of those things that has been on our list a long time but hasn't gotten to the top.
If you find a solution, please post another answer here. I will also, if I find other ideas to try...