Don't echo the input if it's not a TTY. Make sure Colorizer exists before using it. Reset position / fWriteLen at Attach() / Detach(): we cannot tell where we are afterwards anyway. Set fPrevColor to -1: we don't know whether a different color was activated while textinput was detached.
Don't echo the input if it's not a TTY.
Make sure Colorizer exists before using it.
Reset position / fWriteLen at Attach() / Detach(): we cannot tell where we are afterwards anyway.
Set fPrevColor to -1: we don't know whether a different color was activated while textinput was detached.


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@39477 27541ba8-7e3a-0410-8455-c3a389f83636

bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical