Skip to content

Commit c46e901

Browse files
committed
Make history() print each entry on a new line
1 parent 5825ecc commit c46e901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IJulia.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ clear_history
351351
function history(io::IO, indices::AbstractVector{<:Integer}; kernel=_default_kernel)
352352
for n in intersect(indices, 1:kernel.n)
353353
if haskey(kernel.In, n)
354-
print(io, kernel.In[n])
354+
println(io, kernel.In[n])
355355
end
356356
end
357357
end

0 commit comments

Comments
 (0)