The option a key moves to: down and up go round at the ends. From no option (current -1), down goes to the first and up to the last.
current
The index to focus, or -1 when there is no option.
The option a key moves to: down and up go round at the ends. From no option (
current-1), down goes to the first and up to the last.