cli-menu
cli-menu copied to clipboard
🖥 Build beautiful PHP CLI menus. Simple yet Powerful. Expressive DSL.
Traditionally, this project is debugged using the var_dump() function. If we use xdebug we get an error. Error reason: The program cannot get terminal parameters from the PHPStorm environment. I...
Can you please suggest how to make multiline text for promt? The example below breaks the menu: ```php $itemCallable = function (CliMenu $menu) { $result = $menu->askText() ->setPromptText("Text line 1\nText...
Hello, Giving it another try to check if there's a way to make this package windows compatible, i found [stream_isatty()](https://www.php.net/manual/en/function.stream-isatty.php) which is described on php documentation as a `posix_isatty()` replacement,...
I encountered an issue when my menu is bigger than my terminal: https://user-images.githubusercontent.com/19191608/153231452-90b84923-f643-4c72-9ac0-5520246dea3a.mp4 Is it possible to print the console line number only for the menu? I know I use...
SplitItem radio works well: ```
Hello, when calling the setWidth function it checks if the passed value is greater than the total width of the terminal, but in my case the maximum width of the...
Hello! I'm trying to use your cli which is very nice tool but I'm having a problem. When I'm pasting a text, it is being reduced. For example if I...
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...
This feature is useful because it allows you to either reduce or set to zero the vertical margins in cases of a small terminal window (my case for which I...
I'm trying to see if I can use cli-menu to build a simple table/grid with rows and columns, similar to a spreadsheet. I realize this was not the intent of...