Closed sindresorhus closed 7 years ago
That is weird. I can't reproduce it on my system. Node 6.9.6, ubuntu 14.04 (elementary os). You are running OSX right?
Does it happen with any pageSize?
Can you check if it also happens with other prompts? I use the same paginator code as any prompt https://github.com/SBoudrias/Inquirer.js/blob/master/lib/utils/paginator.js
I was able to reproduce it finally, however not with as many extra as you had. I was able to reproduce it with 2 more than the pageSize. And that is due to this: https://github.com/SBoudrias/Inquirer.js/blob/master/lib/utils/paginator.js#L22
Try it again with the lastest version, fixed in inquirer.
Works great. Thanks for fixing :)
Here, I have set
pageSize
to10
, but it's showing more than 10 results. Interestingly, this doesn't happen on the first search character, in this cases
.If I don't specify
pageSize
, everything works perfectly.