We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dcd1df7 + f16daf0 commit 2b034edCopy full SHA for 2b034ed
README.md
@@ -906,7 +906,7 @@ $menu = (new CliMenuBuilder)
906
->addItem('Item 1')
907
->build();
908
909
-$menu->addCustomMapping("x", $exit);
+$menu->addCustomControlMapping("x", $exit);
910
911
$menu->open();
912
```
@@ -928,7 +928,7 @@ $menu = (new CliMenuBuilder)
928
929
930
// Now, pressing Uppercase C (it's case sensitive) will call $myCallback
931
-$menu->addCustomMapping('C', $myCallback);
+$menu->addCustomControlMapping('C', $myCallback);
932
933
934
0 commit comments