Color caret correctly