From 1609b00b7793e3972bd56e2e3a2e7454c7c59d04 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 20 Oct 2020 23:48:32 -0400 Subject: [PATCH] C++ decode_loop() #1066 --- include/ncpp/Visual.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/ncpp/Visual.hh b/include/ncpp/Visual.hh index 61044a80d..afa291dbd 100644 --- a/include/ncpp/Visual.hh +++ b/include/ncpp/Visual.hh @@ -61,6 +61,11 @@ namespace ncpp return ncvisual_decode (visual); } + int decode_loop () const noexcept + { + return ncvisual_decode_loop (visual); + } + ncplane* render (const ncvisual_options* vopts) const NOEXCEPT_MAYBE { return error_guard (ncvisual_render (get_notcurses (), visual, vopts), nullptr);