Skip to content

Commit

Permalink
fix invalidations of REPL from HDF5.jl (#46486)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha authored Aug 29, 2022
1 parent 5c5af1f commit 431071b
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 @@ -1490,7 +1490,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 431071b

Please sign in to comment.