Instead of having to press Enter. Would save a tiny bit of time.
IssueHunt Summary
IssueHunt has been backed by the following sponsors. Become a sponsor
Hey, this is what is handled by listr-input used inside lib/publish.js right? I would like to take a stab at it.
@killynathan Correct. Go ahead :)
@issuehuntfest has funded $30.00 to this issue. See it on IssueHunt
@sindresorhus I went through the source of listr-input and Inquirer.js, still didn't find anyway to implement this. What do you think?
Maybe we could use a library like RobotJS alongside with the validate function from listr-input to detect when 6 characters have been typed and then press the Enter key.
@sindresorhus @shaminmeerankutty
@xxczaki No, that's way over the top.
I would add an option to listr-input to validate the input in real-time instead of only after Enter.
@yaodingyd do you want to send a PR for this? If not, I could
the latest version for listr-input is not working actually. I have a PR https://github.com/SamVerschueren/listr-input/pull/8 to fix the auto submit issue. If you can ping Sam on it that would be helpful.
@sindresorhus has rewarded $27.00 to @lukks. See it on IssueHunt