Added fix for ^ when line starts with non-whitespace characters. (Current behavior brings cursor to second character on the line.)