How might you implement accepting auto-completion via a number?

I.e, pressing “3” will choose the third choice, saving the need to press down down down enter, can just press 3.

The package doesn’t currently export anything that allows you to directly pick completions from code. But, also, I can imagine the behavior you describe being unexpected when people are typing something that contains numbers.

1 Like