-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roadmap 0.3.0 #55
Roadmap 0.3.0 #55
Conversation
Update utils.normalizeChoice to create new choices Object and to consider separator objects.
Added a `Choices` object containing multiple helper methods to ease the prompt integration with the choice types.
Also update the logic around rendring choices so the output can be managed by a paginator.
Remove `paginated` option
@danielchatfield Hey, would you mind double checking everything works fine? I've tested OSx (terminal and iTerm) and Windows 7 (powershell and cmd.exe), I'll look on Ubuntu later on. Let me know how you feel about the pagination interface! Should be ready for 0.3 release very soon! |
@SBoudrias Testing now |
@SBoudrias Looks good Just this one thing: The multiline list does not align properly for checkboxes. Also another thing (not related to this but might as well mention it here). In examples you have |
Renamed the file. About the spacing, I'm not sure I want to take a decision right now as the padding to add would be different depending on your system (windows prompts in ASCII is longer) and that I'm not sure I want to manage programmatically the spacing after a line return in different context. This may be something to consider for 0.4. Anyway, merging and publishing 0.3. Thanks for the help! |
Make or ditch Windows unicode support (Add unicode for Windows #43) - Help warmly welcomed here. Can't find any "checkbox" type of unicode char working on both Consolas and Lucida Console fonts...