diff options
-rw-r--r-- | helpers.c | 4 | ||||
-rw-r--r-- | helpers.h | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -53,3 +53,7 @@ int pprintw(PANEL *pan, const char *fmt, ...) { va_end(args); return res; } + +int pclear(PANEL *pan) { + return wclear(panel_window(pan)); +} @@ -12,3 +12,4 @@ 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, ...); +extern int pclear(PANEL *pan); |