Delete cursor multiple


I want to delete one of the cursors when multiple selectors are enabled. So i am tried to use

editor = atom.workspace.getActiveEditor();
curs = editor.getCursors()
// which gives c[0] and c[1]

This removes the cursor, but if you enter text it gets updated on both the cursor positions. So what is the right way to do it?


Try c[0].destroy()


@alexrussell Thank you