File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 44
44
* [ Ascii Art Item] ( #ascii-art-item )
45
45
* [ Sub Menu Item] ( #sub-menu-item )
46
46
* [ Disabling Items & Sub Menus] ( #disabling-items--sub-menus )
47
+ * [ Item Markers] ( #item-markers )
48
+ * [ Menu Title] ( #menu-title )
47
49
* [ Redrawing the Menu] ( #redrawing-the-menu )
48
50
* [ Getting, Removing and Adding items] ( #getting-removing-and-adding-items )
49
51
* [ Custom Control Mapping] ( #custom-control-mapping )
@@ -369,6 +371,8 @@ $menu = (new CliMenuBuilder)
369
371
->build();
370
372
```
371
373
374
+ ##### Item Markers
375
+
372
376
The marker displayed by the side of the currently active item can be modified, UTF-8 characters are supported.
373
377
The marker for un-selected items can also be modified. If you want to disable it, just set it to a space character.
374
378
@@ -382,6 +386,8 @@ $menu = (new CliMenuBuilder)
382
386
->build();
383
387
```
384
388
389
+ ##### Menu Title
390
+
385
391
You can give your menu a title and you can customise the separator, a line which displays under the title.
386
392
Whatever string you pass to ` setTitleSeparator ` will be repeated for the width of the Menu.
387
393
You can’t perform that action at this time.
0 commit comments