Skip to content

Commit

Permalink
Make REPL.TerminalMenus and some if its symbols public (#55307)
Browse files Browse the repository at this point in the history
  • Loading branch information
GHTaarn committed Aug 5, 2024
1 parent 4200203 commit e38e4db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/REPL/src/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ export
LineEditREPL,
StreamREPL

public TerminalMenus

import Base:
AbstractDisplay,
display,
Expand Down
10 changes: 10 additions & 0 deletions stdlib/REPL/src/TerminalMenus/TerminalMenus.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

"""
REPL.TerminalMenus
A module that contains code for displaying text mode interactive menus.
Key exported symbols include [`REPL.TerminalMenus.RadioMenu`](@ref) and
[`REPL.TerminalMenus.MultiSelectMenu`](@ref).
"""
module TerminalMenus

using ..REPL: REPL
Expand All @@ -23,6 +30,9 @@ export
Pager,
request

public Config, config, MultiSelectConfig
public pick, cancel, writeline, options, numoptions, selected, header, keypress

# TODO: remove in Julia 2.0
# While not exported, AbstractMenu documented these as an extension interface
@deprecate printMenu printmenu
Expand Down

0 comments on commit e38e4db

Please sign in to comment.