Skip to content

Commit 885aeda

Browse files
GHTaarnKristofferC
authored and
KristofferC
committed
Make REPL.TerminalMenus and some if its symbols public (#55307)
(cherry picked from commit e38e4db)
1 parent 8a4dd86 commit 885aeda

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

stdlib/REPL/src/REPL.jl

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ export
100100
LineEditREPL,
101101
StreamREPL
102102

103+
public TerminalMenus
104+
103105
import Base:
104106
AbstractDisplay,
105107
display,

stdlib/REPL/src/TerminalMenus/TerminalMenus.jl

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# This file is a part of Julia. License is MIT: https://julialang.org/license
22

3+
"""
4+
REPL.TerminalMenus
5+
6+
A module that contains code for displaying text mode interactive menus.
7+
Key exported symbols include [`REPL.TerminalMenus.RadioMenu`](@ref) and
8+
[`REPL.TerminalMenus.MultiSelectMenu`](@ref).
9+
"""
310
module TerminalMenus
411

512
terminal = nothing # The user terminal
@@ -25,6 +32,9 @@ export
2532
Pager,
2633
request
2734

35+
public Config, config, MultiSelectConfig
36+
public pick, cancel, writeline, options, numoptions, selected, header, keypress
37+
2838
# TODO: remove in Julia 2.0
2939
# While not exported, AbstractMenu documented these as an extension interface
3040
@deprecate printMenu printmenu

0 commit comments

Comments
 (0)