From 80fbb7e1ead4d16f1f4d511d30df18eeb65ceafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Bakker?= Date: Fri, 16 Jun 2023 11:59:25 +0200 Subject: Add fullscreen param to vis_pipe_collect() and Lua API vis:pipe() This enables restoring the terminal from a fullscreen command like curses based program. Use cases are e.g. a file picker based on some external program like nnn (https://github.com/jarun/nnn). --- ui-terminal-vt100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-terminal-vt100.c') diff --git a/ui-terminal-vt100.c b/ui-terminal-vt100.c index 8ba8a1a..33ad7fb 100644 --- a/ui-terminal-vt100.c +++ b/ui-terminal-vt100.c @@ -172,7 +172,7 @@ static bool ui_vt100_resize(UiTerm *tui, int width, int height) { return true; } -static void ui_vt100_save(UiTerm *tui) { +static void ui_vt100_save(UiTerm *tui, bool fscr) { cursor_visible(true); } -- cgit v1.2.3