Added 'reset' at the beginning of internal_save
This commit is contained in:
parent
a03fe92410
commit
cda0a781b5
@ -539,6 +539,7 @@ end
|
||||
# --------------------------------------------------------------------
|
||||
internal_save(gp::DrySession; kw...) = internal_save(gp, gp; kw...)
|
||||
function internal_save(gp::DrySession, stream; term::AbstractString="", output::AbstractString="")
|
||||
println(stream, "reset")
|
||||
if term != ""
|
||||
former_term = writeread(gp, "print GPVAL_TERM")[1]
|
||||
former_opts = writeread(gp, "print GPVAL_TERMOPTIONS")[1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user