Skip to content

Commit

Permalink
Suppress "stream is closed" warning in tests (JuliaLang#38348)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Nov 15, 2020
1 parent 0dd46aa commit 5151c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/REPL/src/TerminalMenus/AbstractMenu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function request(term::REPL.Terminals.TTYTerminal, m::AbstractMenu; cursor::Unio
REPL.Terminals.raw!(term, true)
true
catch err
@warn("TerminalMenus: Unable to enter raw mode: $err")
suppress_output || @warn("TerminalMenus: Unable to enter raw mode: $err")
false
end
# hide the cursor
Expand Down

0 comments on commit 5151c95

Please sign in to comment.