Skip to content

Commit 9787fa5

Browse files
ranochaKristofferC
authored andcommitted
fix invalidations of REPL from HDF5.jl (#46486)
(cherry picked from commit 431071b)
1 parent 598b019 commit 9787fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/REPL/src/LineEdit.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ end
13801380
end
13811381

13821382
# returns the width of the written prompt
1383-
function write_prompt(terminal, s::Union{AbstractString,Function}, color::Bool)
1383+
function write_prompt(terminal::AbstractTerminal, s::Union{AbstractString,Function}, color::Bool)
13841384
@static Sys.iswindows() && _reset_console_mode()
13851385
promptstr = prompt_string(s)::String
13861386
write(terminal, promptstr)

0 commit comments

Comments
 (0)