From dc3e3176f273606280d38f452d0be25461126a75 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Mon, 4 Apr 2022 18:10:58 +0200 Subject: [PATCH] `UnicodePlots`: fix internal change --- src/backends/unicodeplots.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/unicodeplots.jl b/src/backends/unicodeplots.jl index 3f6d99d8..4ce0fa60 100644 --- a/src/backends/unicodeplots.jl +++ b/src/backends/unicodeplots.jl @@ -335,7 +335,7 @@ function _show(io::IO, ::MIME"text/plain", plt::Plot{UnicodePlotsBackend}) colored = read(buf, String) lines_colored[r, c] = lu = lc = split(colored, '\n') if have_color - uncolored = UnicodePlots.nocolor_string(colored) + uncolored = UnicodePlots.no_ansi_escape(colored) lines_uncolored[r, c] = lu = split(uncolored, '\n') end lmax = max(length(lc), lmax)