New answers tagged xterm
It works the same in gnome-terminal. If you wait a second it does change to the correct color, but I think that second or two are not controllable because the codes are inserted by vim based on events internally. I don't think that precise second can be fixed.
Top 50 recent answers are included