While testing out a program I noticed it was misbehaving in M-x ansi-term for the commands using the \e[0G sequence for moving the cursor to column 0. Apparently this is because it doesn't have any code branch in `term-handle-ansi-escape' for this case. I've attached a patch to fix this deficiency.