cli-menu
cli-menu copied to clipboard
setPromptText - multiline support
Can you please suggest how to make multiline text for promt?
The example below breaks the menu:
$itemCallable = function (CliMenu $menu) {
$result = $menu->askText()
->setPromptText("Text line 1\nText line 2\nText line 3")
->setPlaceholderText('')
->ask();
var_dump($result->fetch());
};

It appears it's not handled/supported
Right. But is it possible to implement such a function in the future?
We will happily accept PR's but I don't imagine the maintainers will be working on it in the foreseeable future.
Es tut mir so leid )