Skip to content

Commit

Permalink
fix: remove extraneous if check after change to exhaustive switch (#5419
Browse files Browse the repository at this point in the history
)

This came out of cmd+triple-click fix in PR #5373
  • Loading branch information
mitchellh authored Jan 29, 2025
2 parents 76fd4fa + 71d0481 commit e536439
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/terminal/Screen.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2605,9 +2605,6 @@ pub fn selectOutput(self: *Screen, pin: Pin) ?Selection {
.input,
=> {},
}
if (row.semantic_prompt == .command) {
break;
}
}

// Because the first line of command output may span multiple visual rows we must now
Expand Down

0 comments on commit e536439

Please sign in to comment.