Skip to content

Commit

Permalink
fix invalidations of REPL from HDF5.jl (JuliaLang#46486)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Aug 30, 2022
1 parent 8cbfcf3 commit acb773c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/REPL/src/LineEdit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ end
end

# returns the width of the written prompt
function write_prompt(terminal, s::Union{AbstractString,Function}, color::Bool)
function write_prompt(terminal::AbstractTerminal, s::Union{AbstractString,Function}, color::Bool)
@static Sys.iswindows() && _reset_console_mode()
promptstr = prompt_string(s)::String
write(terminal, promptstr)
Expand Down

0 comments on commit acb773c

Please sign in to comment.