Skip to content

Commit

Permalink
Make history() print each entry on a new line
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Feb 13, 2025
1 parent 969cb02 commit 212ff17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IJulia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ clear_history
function history(io::IO, indices::AbstractVector{<:Integer}; kernel=_default_kernel)
for n in intersect(indices, 1:kernel.n)
if haskey(kernel.In, n)
print(io, kernel.In[n])
println(io, kernel.In[n])
end
end
end
Expand Down

0 comments on commit 212ff17

Please sign in to comment.