Add cursor according to read only state