I'm on mac os x using the Terminal app, and I'm facing text-wrapping issues when I'm in a console of another program (e.g., node). When a line wraps, the cursor is one character too far ahead on the next line.  I've looked at other questions and I think their answers are close, but not close enough to help me solve my issue.NOTE: The wrapping issue only arises when I'm in a console, but does not come up when I'm just using bash or the normal terminal.  This is my PS1 variable in my .bash_profile:PS1='${debian_chroot:+($debian_chroot)}\[\033[01;35m\]\u@\h\[\033[00m\] \[\033[00;31m\]\W $\[\033[00m\] 'Screenshot for clarity here.  (had to put on Dropbox, I was getting an imgur error for putting here)
Cursor is one character too far ahead after line wraps
bash;terminal