Skip to content

Commit 3c393ba

Browse files
committed
Make history() print each entry on a new line
1 parent 576d2a3 commit 3c393ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IJulia.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ clear_history
327327
function history(io::IO, indices::AbstractVector{<:Integer}; kernel=_default_kernel)
328328
for n in intersect(indices, 1:kernel.n)
329329
if haskey(kernel.In, n)
330-
print(io, kernel.In[n])
330+
println(io, kernel.In[n])
331331
end
332332
end
333333
end

0 commit comments

Comments
 (0)