From 6cfa086a2e221855c39508e648a30845133c26b0 Mon Sep 17 00:00:00 2001 From: Jan Kuhlmann <33833587+M2-TE@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:02:35 +0100 Subject: [PATCH] respect immediate draw --- graphs.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graphs.hpp b/graphs.hpp index b9d8c6a..cb2fab3 100644 --- a/graphs.hpp +++ b/graphs.hpp @@ -894,6 +894,11 @@ namespace graphs intermediate.texture[index].data |= value; } } + + // draw plot into terminal immediately if requested + if (options.draw_immediately) { + intermediate.draw(); + } } // plot from single data set template