Print mouse coordinates (regardless of verbosity option)

This commit is contained in:
Giorgio Calderone 2020-03-23 19:22:13 +01:00
parent 1b8006b710
commit c6ab1bb91f

View File

@ -308,7 +308,8 @@ function GPSession(sid::Symbol)
if line == "GNUPLOT_CAPTURE_BEGIN" if line == "GNUPLOT_CAPTURE_BEGIN"
saveOutput = true saveOutput = true
else else
if (line != "") && (line != "GNUPLOT_CAPTURE_END") && (options.verbose) if ((line != "") && (line != "GNUPLOT_CAPTURE_END") && (options.verbose)) ||
!isnothing(match(r"clipboard", line))
printstyled(color=:cyan, "GNUPLOT ($sid) -> $line\n") printstyled(color=:cyan, "GNUPLOT ($sid) -> $line\n")
end end
(saveOutput) && (put!(channel, line)) (saveOutput) && (put!(channel, line))