This commit is contained in:
Giorgio Calderone 2020-04-01 12:50:22 +02:00
parent 431144b1c6
commit 451e869668

View File

@ -718,7 +718,7 @@ end
# ╰───────────────────────────────────────────────────────────────────╯
# ---------------------------------------------------------------------
exec(gp::DrySession, command::String) = nothing
exec(gp::DrySession, command::String) = ""
function exec(gp::GPSession, command::String)
answer = Vector{String}()
push!(answer, writeread(gp, command)...)
@ -1318,7 +1318,7 @@ end
Return a `Vector{String}` with the names of all the available gnuplot terminals.
"""
terminals() = split(strip(exec("print GPVAL_TERMINALS")), " ")
terminals() = string.(split(strip(exec("print GPVAL_TERMINALS")), " "))
# --------------------------------------------------------------------