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
(cherry picked from commit e38e4db)
  • Loading branch information
GHTaarn authored and KristofferC committed Aug 8, 2024
1 parent 8a4dd86 commit 885aeda
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 @@ -100,6 +100,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

terminal = nothing # The user terminal
Expand All @@ -25,6 +32,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 885aeda

Please sign in to comment.