Skip to content

Commit 431071b

Browse files
authored
fix invalidations of REPL from HDF5.jl (#46486)
1 parent 5c5af1f commit 431071b

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
@@ -1490,7 +1490,7 @@ end
14901490
end
14911491

14921492
# returns the width of the written prompt
1493-
function write_prompt(terminal, s::Union{AbstractString,Function}, color::Bool)
1493+
function write_prompt(terminal::AbstractTerminal, s::Union{AbstractString,Function}, color::Bool)
14941494
@static Sys.iswindows() && _reset_console_mode()
14951495
promptstr = prompt_string(s)::String
14961496
write(terminal, promptstr)

0 commit comments

Comments
 (0)