Skip to content

Commit 23d6274

Browse files
committed
Make history() print each entry on a new line
1 parent faf9bdc commit 23d6274

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

0 commit comments

Comments
 (0)