Display assigned objects from chunk's last line

pull/185/merge
Matti Pastell 2019-02-27 12:42:43 +02:00
parent 73536707dc
commit e52083c42a
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ function capture_output(expr, SandBox::Module, term, disp,
#This shows images and lone variables, result can
#Handle last line sepately
elseif lastline && obj != nothing
(expr.head != :toplevel && expr.head != :(=)) && display(obj)
(expr.head != :toplevel) && display(obj)
end
catch E
throw_errors && throw(E)