fast-ssh
fast-ssh copied to clipboard
Fix host selection in different size host lists
When going from a list of say 4 items and switching to a group that has only 2 items in it I noticed that the next group selection would be lost.
Current selection method:
Group 1
---
host1
host2
host3
-> host4
SWITCH TO GROUP 2
Group 2
---
host1
host2
Pull Request selection method:
Group 1
---
host1
host2
host3
-> host4
SWITCH TO GROUP 2
Group 2
---
-> host1
host2
'host1' in 'Group 2' is now selected when we switch to that group.