Skip to content

Commit 436a94f

Browse files
committed
Make history() print each entry on a new line
1 parent 215b652 commit 436a94f

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
@@ -348,7 +348,7 @@ clear_history
348348
function history(io::IO, indices::AbstractVector{<:Integer}; kernel=_default_kernel)
349349
for n in intersect(indices, 1:kernel.n)
350350
if haskey(kernel.In, n)
351-
print(io, kernel.In[n])
351+
println(io, kernel.In[n])
352352
end
353353
end
354354
end

0 commit comments

Comments
 (0)