Skip to content

Commit 82a7331

Browse files
committed
fix: simplify function parameter declarations for linting
1 parent 89fbd72 commit 82a7331

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/tui/components/messages/clipboard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func (m *model) extractSelectedText() string {
165165

166166
// findClosestRuneIndex finds the rune index for a given visual column,
167167
// or the closest next rune if the exact column doesn't exist
168-
func findClosestRuneIndex(visualToRune map[int]int, visualCol int, maxRunes int) int {
168+
func findClosestRuneIndex(visualToRune map[int]int, visualCol, maxRunes int) int {
169169
// Try exact match first
170170
if runeIdx, ok := visualToRune[visualCol]; ok {
171171
return runeIdx

0 commit comments

Comments
 (0)