Skip to content

Conversation

@brainexe
Copy link
Owner

No description provided.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.


// For regular commands, use SSH completion on the first host
sshCompletions := getSSHCompletions(currentWord, hosts[0], user)
sshCompletions := getSSHCompletions(currentWord, hosts[0], connMgr)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Tab Completion Fails Without SSH Hosts

The completerWithWord function now accesses hosts[0] without first checking if the hosts slice is empty. This can cause an index out of range panic during tab completion when no SSH hosts are available.

Fix in Cursor Fix in Web

@brainexe brainexe merged commit 5abcc0c into master Sep 23, 2025
4 checks passed
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.

2 participants