Wrap non-printing characters in \[ \]

Otherwise line wrapping in bash breaks.