From 7e89874f23e0423a4c9476cba8b566809685cfb9 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sun, 2 Jul 2023 04:22:41 -0400 Subject: Add convenience ncurses functions Signed-off-by: Malfurious --- curshelpers.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 curshelpers.h (limited to 'curshelpers.h') diff --git a/curshelpers.h b/curshelpers.h new file mode 100644 index 0000000..d8bda0d --- /dev/null +++ b/curshelpers.h @@ -0,0 +1,12 @@ +#pragma once + +#include +#include + +extern void cursinit(void); +extern void cursupdate(void); + +extern PANEL *newpan(int h, int w, int y, int x); +extern void delpan(PANEL *pan); +extern void reset_panel(PANEL *pan, int h, int w, int y, int x); +extern int pprintw(PANEL *pan, const char *fmt, ...); -- cgit v1.2.3