@@ -450,11 +450,11 @@ ENV["JULIA_WARN_COLOR"] = :yellow
450
450
ENV [" JULIA_INFO_COLOR" ] = :cyan
451
451
```
452
452
453
- # TerminalMenus
453
+ ## TerminalMenus
454
454
455
455
TerminalMenus is a submodule of the Julia REPL and enables small, low-profile interactive menus in the terminal.
456
456
457
- ## Examples
457
+ ### Examples
458
458
459
459
``` julia
460
460
import REPL
@@ -465,7 +465,7 @@ options = ["apple", "orange", "grape", "strawberry",
465
465
466
466
```
467
467
468
- ### RadioMenu
468
+ #### RadioMenu
469
469
470
470
The RadioMenu allows the user to select one option from the list. The ` request `
471
471
function displays the interactive menu and returns the index of the selected
@@ -501,7 +501,7 @@ v peach
501
501
Your favorite fruit is blueberry!
502
502
```
503
503
504
- ### MultiSelectMenu
504
+ #### MultiSelectMenu
505
505
506
506
The MultiSelectMenu allows users to select many choices from a list.
507
507
@@ -542,12 +542,12 @@ You like the following fruits:
542
542
- peach
543
543
```
544
544
545
- ## Customization / Configuration
545
+ ### Customization / Configuration
546
546
547
547
All interface customization is done through the keyword only
548
548
` TerminalMenus.config() ` function.
549
549
550
- ### Arguments
550
+ #### Arguments
551
551
552
552
- ` charset::Symbol=:na ` : ui characters to use (` :ascii ` or ` :unicode ` ); overridden by other arguments
553
553
- ` cursor::Char='>'|'→' ` : character to use for cursor
@@ -559,7 +559,7 @@ All interface customization is done through the keyword only
559
559
- ` supress_output::Bool=false ` : For testing. If true, menu will not be printed to console.
560
560
- ` ctrl_c_interrupt::Bool=true ` : If ` false ` , return empty on ^C, if ` true ` throw InterruptException() on ^C
561
561
562
- ### Examples
562
+ #### Examples
563
563
564
564
``` julia
565
565
julia> menu = MultiSelectMenu (options, pagesize= 5 );
@@ -597,7 +597,7 @@ Set([4, 2])
597
597
598
598
```
599
599
600
- # References
600
+ ## References
601
601
602
602
``` @docs
603
603
Base.atreplinit
0 commit comments