php-school / cli-menu

🖥 Build beautiful PHP CLI menus. Simple yet Powerful. Expressive DSL.
http://www.phpschool.io
MIT License
1.94k stars 107 forks source link

Feature: present menu "inline"; without clearing terminal screen #281

Open robrecord opened 8 months ago

robrecord commented 8 months ago

I would like to use this as part of a cli script and it's quite disruptive to have the screen cleared by these menus. Is this a style choice or is it necessary? Is there a way to work around the screen clearing?

AydinHassan commented 8 months ago

hi @robrecord I guess we just didn't think of that use case in the beginning when we built it. We would accept a PR that would make it optional, how it could be/or if it could be implemented easily, is a different question though 😅. I don't think there is a way to work around it without some substantial refactoring.