Skip to content

Commit

Permalink
Added maximum cursor count
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSpicyBurrito committed Oct 13, 2022
1 parent 6b7fbbc commit 167479c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/decoration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export async function getDecorations(
selections: readonly vscode.Selection[]
) {
if (!selections.length) return []
if (selections.length > 3) return []

const positions = selections
.map((selection) => selection.active)
Expand Down

0 comments on commit 167479c

Please sign in to comment.