Support removeCursor from cursorless term