Skip to content

cmd/linkwinbt: Fix user selection validation#18

Merged
vvoland merged 1 commit intomasterfrom
fix-selection
Jan 8, 2026
Merged

cmd/linkwinbt: Fix user selection validation#18
vvoland merged 1 commit intomasterfrom
fix-selection

Conversation

@vvoland
Copy link
Owner

@vvoland vvoland commented Jan 8, 2026

The list starts at 0 but the user selection was expected to be greater than 0.

This made it impossible to select controllers in case where there are 2 of them.

Fix validation and improve the messages.

The list starts at 0 but the user selection was expected to be greater
than 0.

This made it impossible to select controllers in case where there are 2
of them.

Fix validation and improve the messages.

Signed-off-by: Paweł Gronowski <me@woland.xyz>
@vvoland vvoland self-assigned this Jan 8, 2026
@vvoland vvoland merged commit 7cdb222 into master Jan 8, 2026
7 checks passed
@vvoland vvoland deleted the fix-selection branch January 8, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant