Skip to content

Commit

Permalink
Increment header level of TerminalMenus section in REPL docs. (#35718)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlumpe authored May 4, 2020
1 parent a1f6448 commit f1d10e7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions stdlib/REPL/docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,11 @@ ENV["JULIA_WARN_COLOR"] = :yellow
ENV["JULIA_INFO_COLOR"] = :cyan
```

# TerminalMenus
## TerminalMenus

TerminalMenus is a submodule of the Julia REPL and enables small, low-profile interactive menus in the terminal.

## Examples
### Examples

```julia
import REPL
Expand All @@ -465,7 +465,7 @@ options = ["apple", "orange", "grape", "strawberry",

```

### RadioMenu
#### RadioMenu

The RadioMenu allows the user to select one option from the list. The `request`
function displays the interactive menu and returns the index of the selected
Expand Down Expand Up @@ -501,7 +501,7 @@ v peach
Your favorite fruit is blueberry!
```

### MultiSelectMenu
#### MultiSelectMenu

The MultiSelectMenu allows users to select many choices from a list.

Expand Down Expand Up @@ -542,12 +542,12 @@ You like the following fruits:
- peach
```

## Customization / Configuration
### Customization / Configuration

All interface customization is done through the keyword only
`TerminalMenus.config()` function.

### Arguments
#### Arguments

- `charset::Symbol=:na`: ui characters to use (`:ascii` or `:unicode`); overridden by other arguments
- `cursor::Char='>'|'→'`: character to use for cursor
Expand All @@ -559,7 +559,7 @@ All interface customization is done through the keyword only
- `supress_output::Bool=false`: For testing. If true, menu will not be printed to console.
- `ctrl_c_interrupt::Bool=true`: If `false`, return empty on ^C, if `true` throw InterruptException() on ^C

### Examples
#### Examples

```julia
julia> menu = MultiSelectMenu(options, pagesize=5);
Expand Down Expand Up @@ -597,7 +597,7 @@ Set([4, 2])

```

# References
## References

```@docs
Base.atreplinit
Expand Down

0 comments on commit f1d10e7

Please sign in to comment.