Skip to content
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

Add separator line support in options #70

Closed
mikeerickson opened this issue Feb 8, 2018 · 2 comments
Closed

Add separator line support in options #70

mikeerickson opened this issue Feb 8, 2018 · 2 comments

Comments

@mikeerickson
Copy link

Please see extended description here where it was first discovered

nunomaduro/laravel-console-menu#7

@AydinHassan
Copy link
Member

AydinHassan commented Feb 9, 2018

Hi - I'm not sure there is anything to solve here in this repository - this seems to be due to the way items are added to the menu in the Laravel wrapper.

The API to add an item and a line break is:

$menu = $menuBuilder
    ->addItem('First Item', $itemCallable)
    ->addLineBreak('-')
    ->build();

@mikeerickson
Copy link
Author

OK, as mentioned, I have opened a ticket there as well. I will have a closer look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants